[R] qqline 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?
David Winsemius
dwinsemius at comcast.net
Fri Aug 6 20:24:12 CEST 2010
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
More information about the R-help
mailing list