[R] plotting groupedData object

Deepayan Sarkar deepayan.sarkar at gmail.com
Tue May 2 01:32:47 CEST 2006


On 5/1/06, Osman Al-Radi <osman.al.radi at gmail.com> wrote:
> My apologies:
>
> library(nlme)
> gd<-groupedData(y~time|subject,outer=~group)
> plot(gd, outer=T)
>
> this produces a pannel per group with a curve per subject

For me, it produces the following:

> library(nlme)
> gd<-groupedData(y~time|subject,outer=~group)
Error in data.frame(y = y, time = time, subject = subject, group = group) :
        object "y" not found

so your example is not reproducible :-)

Feel free to use a dataset from nlme or any other standard package, or
even simulated data, but please give something that we can run.

Deepayan




More information about the R-help mailing list