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 20000 observations in total. The variables are groupf1 groupf2 groupf3 X Y1 Y2 1 1 1 1 0.5 0.5
.... groupf1, groupf2 and groupf3 are defining the 200 groups. I want to make 200 graphs for each group. For each group, graph Y1 and Y2 vs X. Is there any easy way to do that? Thank you very much for your help! Catherine -- View this message in context: http://www.nabble.com/how-to-plot-a-data-by-different-group-tp25862739p25862739.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ 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.