[R] Step and stepAIC
Dieter Menne
dieter.menne at menne-biomed.de
Thu May 7 18:37:25 CEST 2009
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
More information about the R-help
mailing list