[R] help please: predict error code

2010-04-24 Thread Brittany Hall
Hello,   I am trying to calculate predicted values derived from one dataset into a hypothetical dataset. I tried this line of code:   graphdata$fmgpredvalues <- predict(Acs250.3.4, graphdata)   and received the following error message:   ERROR: ZXend[1], drop = FALSE] %*%lmeFit$beta   I h

[R] predict error code

2010-04-21 Thread Brittany Hall
Hello,   I am trying to calculate predicted values derived from one dataset into a hypothetical dataset. I tried this line of code:   graphdata$fmgpredvalues <- predict(Acs250.3.4, graphdata)   and received the following error message:   ERROR: ZXend[1], drop = FALSE] %*%lmeFit$beta   I have made

[R] lme function problem

2009-08-23 Thread Brittany Hall
Hello,   I am fairly new to R and having a problem with the lme command. I have searched on forums, read the Fox 2002 chapter, and R help, but the suggestions that I have tried have not helped me.   My data file is called Acsdata.   This is my script:   Acsdata.1 <- lme(Acsdata$gsi ~ Acsdata$asi