Skip to content
Back to formatted view

Raw Message

Message-ID: <CACk-te3b9MNHidX9ErZovSc9tK3rUyo89aZAtVzqzpAg8EX96A@mail.gmail.com>
Date: 2013-06-06T20:03:40Z
From: Bert Gunter
Subject: how to fit a glm model with all possible interactions between explanatory variables
In-Reply-To: <CAD-E8+62Cp7415YqFM2iEh1ZVkXPNzXU9kMhKmrGtVe2xyT9vA@mail.gmail.com>

?formula

-- Bert

On Thu, Jun 6, 2013 at 12:52 PM, Jack Luo <jluo.rhelp at gmail.com> wrote:
> Hi,
>
> I am trying to find a way to fit a glm model with all the possible
> interaction terms between different variables, without typing all the
> X1:X2, X1:X3,  in the formula, is there a way in R to do that?
>
> Thanks,
>
> -Jack
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> 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.



-- 

Bert Gunter
Genentech Nonclinical Biostatistics

Internal Contact Info:
Phone: 467-7374
Website:
http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm