Displaying 2 results from an estimated 2 matches for "naact".
Did you mean:
nact
2002 Dec 17
0
getData.lme error
...me(),
my lme model was fit with the option na.action='na.exclude'.
On the following (or similar) commands:
plot(flu.trees.42.w25.10.2, resid(., type="p") ~ fitted(.)|species, abline=0)
R returns an error message:
Error in getData.lme(object) : couldn't find function "naAct"
It turns out that the function getData.lme does:
naAct <- eval(mCall$na.action)
if (!is.null(naAct)) {
data <- naAct(data)
}
however, the funcion na.exclude is not properly assigned to naAct
in this way.
Has anyone encountered this before?
What to do?
(i can, ofcour...
2009 Oct 21
3
Missing data and LME models and diagnostic plots
...data = long,
random = ~I(year-2007.5)|schoolnum,
na.action = "na.omit")
then the diagnostic plots suggested in Pinheiro & Bates produce errors; e.g.
plot(m1.mod1, schoolnum~resid(.), abline = 0)
gives an error "could not find function "NaAct".
Searching the archives showed a similar question from 2007, but did not show any responses.
Thanks for any help
Peter
)
Peter L. Flom, PhD
Statistical Consultant
Website: www DOT peterflomconsulting DOT com
Writing; http://www.associatedcontent.com/user/582880/peter_flom.html
Twitter:...