Displaying 1 result from an estimated 1 matches for "anyvariable".
Did you mean:
addvariable
2006 May 17
1
Fix for augPred/gsummary problem (nlme library)
...bles with class attributes and labels. [You can also use str(obj); then look (i) for names in quotes immediately after the colon, e.g. DateTime: 'POSIXct'), or (ii) Class 'labeled' after the colon.] Remove these, or change them, using, e.g.:
class(obj$DateTime) <- NULL
class(obj$AnyVariable) <- 'numeric' ## leaves the actual labels/units intact so that you can later restore them.
2) Execute your lme() statement &c on the object, e.g.:
test.1 <- lme(Chla ~ PO4, random=~1|Site, data=obj) ## or simply: lme(obj)
augPred(test.1)
plot(augPred(test.1))
(Note that...