Edit: Currently, plotmatrix() isn't quite flexible enough to handle all of @Chris' requirements regarding specification of the geom_point() layer. However, we can cut the guts out of plotmatrix() as use Hadley's nice code to create the data structure needed for plotting, but plot it however we like using standard ggplot() calls. This function also drops the densities but you can look into the code for plotmatrix() to see how to get them.
First, a function that expands the data from the wide format to the repeated format required for a pairs plot where we plot each variables against every other, but not itself. Expand Call("rbind", lapply(1:nrow(grid), function(i) { xcol Call("rbind", lapply(1:ncol(data), function(i) { data. Frame(xvar = names(data)i, yvar = names(data)i, x = data, i) })) densities } Then compute the densities for the original data: dens.
1 For telling me about plotmatrix() – Andrie Apr 1 at 10:41 If I could up-vote further, I would have. This amount of work deserves some extra points. Next best thing: I'll contact you separately and buy you a beer next time I am in London.
– Andrie Apr 1 at 11:27.
Melt the data first (convert it to long form). Mwind.
This was also useful for me- I had tried to melt the data but wasn't sure what to use as an id, so thanks. – Chris Apr 1 at 12:55 @Chris part of the problem is that this is a non-standard melt. You are in effect needing to duplicate/replicate the data in the long format to allow for plotting of one variable against the others.
A simple melt won't work - hence the efforts Hadley went to in the code in plotmatrix(). If a melt would have worked, he'd have used that instead. – Gavin Simpson Apr 2 at 1:33.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.