Displaying 1 result from an estimated 1 matches for "studynam".
Did you mean:
studyname
2004 Jun 16
2
subset and lme
I'm puzzled by the following problem, which appears when
attempting to run an analysis on part of a dataset:
If I try:
csubset <- dat$Diagnosis==0
cont <- lme(fixed=cform,
random = ~1|StudyName,
data=dat,subset=csubset,na.action=na.omit)
Then I get:
Error in eval(expr, envir, enclos) : Object "csubset" not found
But if I do instead:
cdat <- dat[dat$Diagnosis==0,]
cont <- lme(fixed=cform,
random = ~1|StudyName,...