Displaying 1 result from an estimated 1 matches for "grpplot".
Did you mean:
ggplot
2013 Apr 30
0
Grouped spaghetti plots in multipanel graphs
...nel grouped individual profile
plots? All individuals of a group within a panel have the same color. As
of now I am using lattice::xyplot to get the desired effect. Please feel
free to suggest other ideas.
Also, I am trying to create a generalized function which goes on similar
lines like this..
grpPlot <- function(dat, mpgrp=quote(G), grp=quote(interaction(D,a,drop=T))
{
lines for xyplot as shown below...
}
Below is the sample code... for illustration purposes...
q <-
data.frame(G=rep(paste("G",1:3,sep=""),each=50),D=rep(paste("D",1:5,sep=""),each...