xyplot of a specific ID number
Using built in data frame CO2 try this where Type is a 2 level factor. library(lattice) xyplot(uptake ~ conc | Type, CO2) xyplot(uptake ~ conc | Type, CO2)[1] xyplot(uptake ~ conc | Type, CO2)[2]
On Sun, Mar 15, 2009 at 12:35 PM, Sachi Ito <s.ito.tcu at gmail.com> wrote:
Dear R list members, I have a question regarding xyplot. ?I managed to make a xyplot of all the IDs by using the syntax below: xyplot(PA ~ CRPC + CRPT | ID, data = redinteract) Now, I'd like to make a graph of a specific ID number (e.g., only ID number 301). ?I thought I could use "subset", but it seems to be not working. ?Could anyone let me know how I can make a graph of a specific ID? Thank you for your help in advance! ? ? ? ?[[alternative HTML version deleted]]
______________________________________________ R-help at 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.