[R] nlme errors ?

Uli Flenker; Raum 704 uli at biochem.dshs-koeln.de
Wed Jul 5 09:03:38 CEST 2000


Troels,

I think the problem is just that most of the plotting functions of nlme
make heavy use of Trellis graphics (See paragraphs "Description", "Form"
and so on in help(qqnorm.lme)). Trellis devices are not supported by R. 


        Uli Flenker
        Institute of Biochemistry
        German Sports University Cologne
        Carl-Diem-Weg 6

        50933 Cologne / Germany

        Phone 0049/0221/4982-493


On Tue, 4 Jul 2000, Troels Ring wrote:

> Dear friends. Below is ouput directly from the help on qqnorm.lme.html
> It do not seem to work as expected - on win98, R 1.1, although the 
> regression is undertaken, so qqnorm
> misunderstands, or what ?
> 
> library(nlme)
> data(Orthodont)
> fm1 <- lme(distance ~ age, Orthodont, random = ~ age | Subject)
> # normal plot of standardized residuals by gender
> qqnorm(fm1, ~ resid(., type = "p") | Sex, abline = c(0, 1))
> Error in as.double.default(y) : (list) object cannot be coerced to vector 
> type 14
> # normal plots of random effects
> qqnorm(fm1, ~ranef(.))
> Error in as.double.default(y) : (list) object cannot be coerced to vector 
> type 14
> 
> 
> Best wishes
> 
> Troels

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list