On 10/27/08, erwann rogard <[EMAIL PROTECTED]> wrote: > hello, > > the example below does not work. (i know it's not supposed, but it makes it > clear what i'm trying to achieve) > > par(mfrow=c(2,1)) > xyplot(y~x2|x1,data=dataframe1,pch=20) > xyplot(y~x2|x1,data=dataframe2,pch=20) > > i know i could probably merge the two datasets and do something like > xyplot(y~x2|x1+dataset,data=merged) > > any other suggestion?
xyplot(y~x2|x1+which,data=make.groups(dataframe1, dataframe2)) -Deepayan ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.