Christoph Hösler
2008-Dec-04 15:23 UTC
[R] How to plot grouped replicates into a single panel using lattice (xyplot)?
Hello, I want to plot replicates of an experiment which are already grouped by a different factor than the replicate number into a single panel using the xyplot function from the lattice lib. Example: My data.frame consists of the following collumns: x, y, factor_for_y, replicate_no, setup_type My plot function looks like this: xyplot(x ~ y | setup_type, data = ..., groups = factor_for_y) Is there a way to additionally split up the replicates in each panel and draw a seperate line for each one? They don't have to get grouped like for factor_for_y, so that I can assign different visual parameter. Thanks for help -- Christoph H?sler Animal Evolutionary Ecology University of T?bingen -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 186 bytes Desc: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20081204/d6cdc32b/attachment.bin>