Re: [R] Functions similar to step() and all.effects() that work for lme() objects?

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Thu, 24 Jul 2008 09:42:28 +0100 (BST)

On Thu, 24 Jul 2008, Christoph Scherber wrote:

> Dear Jon,
>
> The function stepAIC() in Venable´s & Ripley´s MASS library does the job.

Actually, it is extractAIC method in the MASS package that does the job for stepAIC() or step(), so if you attach MASS then step() should work.

As for 'all.effects': that is not part of R: looks like no one mentioned the 'effects' package where a function of that name resides. You can discuss this with the maintainer (John Fox), but it does not look trivial to modify it to work with lme fits.

>
> Best wishes
> Christoph
>
>
>
> Jon Zadra schrieb:
>> Hello,
>>
>> I make frequent use of the *step()* and, for plotting, *all.effects()
>> *functions for *lm()* objects. I am now doing more with *lme()* random
>> effects models, and haven't been able to find functions similar to *step()*
>> or *all.effects()* which will accept *lme()* objects. Do similar functions
>> for either exist? If someone could point me in the right direction it
>> would be much appreciated.
>>
>> Thanks!
>>
>> Jon
>
> ______________________________________________
> R-help_at_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.
>

-- 
Brian D. Ripley,                  ripley_at_stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


______________________________________________ R-help_at_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.

Received on Thu 24 Jul 2008 - 08:51:50 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 24 Jul 2008 - 09:32:28 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive