Tal Galili <tal.galili <at> gmail.com> writes:
> 
> On Wed, May 19, 2010 at 7:38 AM, Tim Clark <mudiver1200 <at> yahoo.com> wrote:
> 
> > Is there a function that will allow me to run all model iterations if I
> > specify a full model? 
> >
> > 
> m1234567<-glm.convert(glm.nb(mantas~site*year+cosmonth+sinmonth+
>   coslunar+sinlunar+plankton,
>   data=mydata))
> >
> > and have R run all the other models.

  PS  I think it's slightly fewer than 2^8 (=256) models [I believe
MuMIn will respect marginality constraints, so models with the site:year
model will necessarily have site and year in them (I just tried an
example, with MuMIn::dredge, and it comes out to 160).  A lot better
than 7! = 5040

______________________________________________
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