Re: [R] Producing residual plots by time for lme object

2010-07-08 Thread Anne York
The plot also works if you replace "na.exclude" with "na.omit". On Wed, 7 Jul 2010, Deepayan Sarkar wrote: DS > On Fri, Jul 2, 2010 at 11:40 AM, Gregory Gentlemen DS > wrote: DS > > Fellow R-users, DS > > DS > > I have a longitudinal data set with missing values in it. I would like to produce

Re: [R] Producing residual plots by time for lme object

2010-07-07 Thread Deepayan Sarkar
On Fri, Jul 2, 2010 at 11:40 AM, Gregory Gentlemen wrote: > Fellow R-users, > > I have a longitudinal data set with missing values in it. I would like to > produce a residual plot for each time using panel.xyplot function but I get > an error message. Here's a simple example, > > library(nlme) >

[R] Producing residual plots by time for lme object

2010-07-02 Thread Gregory Gentlemen
Fellow R-users, I have a longitudinal data set with missing values in it. I would like to produce a residual plot for each time using panel.xyplot function but I get an error message. Here's a simple example, library(nlme) set.seed(1544) longdata <- data.frame(ID=gl(10,1,50), y=rnorm(50), time