On Aug 6, 2010, at 1:47 PM, Benjamin Caldwell wrote:

Hi all,

I'm modeling using lme in the nlme package. qqnorm makes plots just find,
but when I try to add a line with qqline, I get the following error:
"Error in sort.list(x, partial = unique(c(lo, hi))) :
 'x' must be atomic for 'sort.list'
Have you called 'sort' on a list?"

For example
modelincr10<-lme(lruin~can.pos.num, data=rwushi30, random=(~1|
site/transect/plot),na.action=na.omit)
summary(modelincr10)
qqnorm(modelincr10, main="qqnorm res10")
qqline(modelincr10)
Error in sort.list(x, partial = unique(c(lo, hi))) :
 'x' must be atomic for 'sort.list'
Have you called 'sort' on a list?

There is no lme methof for qqline.

Have you read the help page for the qqnorm.lme function?

?qqnorm.lme

I am guessing that you did not realize it was a completely different function that qqnorm.default.

--
David Winsemius, MD
West Hartford, CT

______________________________________________
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