[R] scatterplot matrix with ggplot2

2010-01-09 Thread stephen sefick
#I would like to use the below data to make a scatter plot matrix with #code similar to that below the data #conceptually this is the right approach I think #thanks in advance melt.gg - structure(list(stream = c(Bonham Lower, Bonham Lower, Bonham Lower, Bonham Lower, Bonham Lower, Bonham Lower,

Re: [R] scatterplot matrix with ggplot2

2010-01-09 Thread Ista Zahn
I don't think this approach will work. In your call to facet_grid you call variable twice. Another way to do this is create another variable, call it variable2 and set it equal to variable. Now look at the dataframe. You have values for variable = x1, variable2 = x1, but no values for variable =