[R] lme or nlme
drm0 at yahoo.com
Sat Nov 24 01:12:19 CET 2001
I'm trying to run a linear mixed effects model using
nlme. It appears that lme is not available for R, but
looks like I should be able to run linear models using
nlme. What I tryed looks something like this:
fit <- nlme (Y ~ A + B + C + D,
fixed=list(A,B,C,D),random=Z). This didn't work. I
got this error: Error in reStruct(random, REML =
REML, data = NULL) :
Object must be a list or a formula
I also tryed creating a function fun <-
fit <- nlme(Y ~ fun(A,B,C,D),
I got this error message:
Error in FUN(X[], ...) : Elements in object must be
formulas or pdMat objects
Please help me!
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
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