On Mon, Dec 6, 2010 at 6:22 PM, Maarten van Iterson
<m.van_iterson...@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

______________________________________________
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.

Reply via email to