Rebecca,
I think the problem is that subset is a nume of an R function. If you do
something like
subs <- c(rep(TRUE, 107), FALSE)
fm2 <- lme(distance ~ age + Sex, data = Orthodont, random = ~ 1,
subset=subs)
everything works fine.
Hope this helps,
Andy
__
An
On Jun 25, 2009, at 11:35 AM, Rebecca Sela wrote:
I am trying to estimate models with subsets using the NLME package.
However, I am getting an error in the case below (among others):
subset <- c(rep(TRUE, 107), FALSE)
fm2 <- lme(distance ~ age + Sex, data = Orthodont, random = ~ 1,
subset=
2 matches
Mail list logo