Hi Catherine,
Assuming your variables are in a dataframe called myData, some
variation of the following may be what you want:
library(ggplot2)
myData.m <- melt(myData, measure.vars=c("Y1", "Y2"))
qplot(X, value, colour=variable, shape=groupf3,
facets=groupf1~groupf2, geom="point", data=myData.m)
Dear everyone,
sorry to bother you. I have a big data, suppose it has 200 groups and each
group has 100 data. So the data have 2 observations in total. The
variables are
groupf1 groupf2 groupf3 X Y1 Y2
1 11 1 0.5 0.5
groupf1, groupf2 and groupf3 are
2 matches
Mail list logo