[R] stepAIC/lme problem (1.7.0 only)

Thomas Lumley tlumley at u.washington.edu
Mon Apr 28 16:40:23 CEST 2003


On Mon, 28 Apr 2003, Robert Cuffe wrote:

> I can use stepAIC on an lme object in 1.6.2, but
> I get the following error if I try to do the same
> in 1.7.0:
>
> Error in lme(fixed = resp ~ cov1 + cov2, data = a, random = structure(list( :
>         unused argument(s) (formula ...)
>
> Does anybody know why?

It's presumably related to the fact that the first argument to lme is
called `fixed' rather than `formula'.  It looks as though an `addterm.lme'
may be needed.

	-thomas



More information about the R-help mailing list