[R] Missing values in the nlme package

laura@bayesian-bay.freeserve.co.uk laura at bayesian-bay.freeserve.co.uk
Tue May 28 18:20:41 CEST 2002


Hi,

I am using the nlme package to fit random effects models, however, I
have many missing values in my response variable which I cannot just
omit. 

I can't replace the missing values with the mean or median either as
this is too simple and would need to use something like imputation or
the EM Algorithm.

Is there any way of including these missing values since the model will
not run when they are left as NA.

Many thanks in advance
Laura




-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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