Jun Shen <jun.shen.ut <at> gmail.com> writes:

> I changed the "method" to ML for my lme call. Now I get a different error
> when running the stepAIC
> 
> Error in terms.formula(formula, data = data) :
>   'data' argument is of the wrong type
> 
> What does that mean?
> The same dataset was used for an lm call and everything is fine to run
> stepAIC.

Show sessionInfo() (do you have the recent version?)

Show str(yourdataset)

Show lme(.... your formula)

Dieter

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to