[R] lme problem
John Logsdon
j.logsdon at lancaster.ac.uk
Thu Mar 25 19:13:13 CET 1999
Hi
I am trying to get to grips with lme and perhaps the euro-cent is not
dropping. I want to define a model with some terms random and some fixed
so that:
gd<-groupedData(y~x|c,df)
defining by the group c in data frame df, whereupon
mod<-lme(y~t+f,gd,~t)
where I want the t as a random effect and the f as the fixed part.
Without the f it works OK but when I add the f, I get an error message
from model.frame saying there is an error in the lengths. As far as I can
see, all the lengths are the same (and I have checked it with length() of
course).
Is there an obvious reason for this? I am probably doing something stupid
but it escapes me at the moment. I will try and do the same with MLn this
evening ...
John
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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