Thanks a lot, Dieter, 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. Jun On Thu, May 7, 2009 at 10:44 AM, Dieter Menne <dieter.me...@menne-biomed.de>wrote: > Jun Shen <jun.shen.ut <at> gmail.com> writes: > > > > > I also wonder if stepAIC can work with an lme model. I tried. it doesn't > for > > now. Appreciate any comment. > > > > It can do it, and it displays a nice error message, as I remember, why > it won't do it in the default setting. Check parameter method of your > lme call. > > 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. > -- Jun Shen PhD PK/PD Scientist BioPharma Services Millipore Corporation 15 Research Park Dr. St Charles, MO 63304 Direct: 636-720-1589 [[alternative HTML version deleted]] ______________________________________________ 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.