lattice: strip panel function question
Thanks, Deepayan, that solution is even more elegant! Maarten
On Wed, 2011-01-05 at 14:24 +0530, Deepayan Sarkar wrote:
On Mon, Dec 6, 2010 at 6:22 PM, Maarten van Iterson <M.van_iterson.HG at lumc.nl> wrote:
Thanks Chris Campbell, I didn't though about that. Cheers, Maarten On Mon, 2010-12-06 at 10:08 +0000, Chris Campbell wrote:
data$subjectID <- paste(data$groups, data$subjects) # create a character label xyplot(responses~time|subjectID, groups = groups, data = data, aspect="xy")
Another option is xyplot(responses~time | groups:subjects, data = data, aspect="xy") -Deepayan
Maarten van Iterson Center for Human and Clinical Genetics Leiden University Medical Center (LUMC) Research Building, Einthovenweg 20 Room S-04-038 Phone: 071-526 9439 E-mail: M.van_iterson.HG at lumc.nl --------------- Postal address: Postzone S-04-P Postbus 9600 2300 RC Leiden The Netherlands