[R] extracting r-sq from lme model

Buckley, Yvonne M y.buckley at ic.ac.uk
Wed Jan 9 07:21:26 CET 2002


I've been using the nlme library to construct lme models and I'd like to
extract an r-sq value for the model - how do I do this?

With glm I just used the reported (null deviance-deviance)/(null deviance).
Deviance is not reported directly for lme nor can it be extracted using the
deviance() function.  How do I work out the deviance or can I work out R-sq
in some other way?

Thanks,
Yvonne 

Yvonne Buckley
Department of Biology
Imperial College, Silwood Park
Ascot, Berkshire
SL5 7PY  
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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