Hilfe
Subject: Re: [R] glm model syntax
G'day Harold,
On Fri, 16 May 2008 11:43:32 -0400
"Doran, Harold" <[EMAIL PROTECTED]> wrote:
N+M gives only the main effects, N:M gives only the interaction, and
G*M gives the main effects and the interaction.
I guess this begs the q
~ as.numeric(N):as.numeric(M), dat)
Then the latter two are different, but only under the coercion to
numeric.
> -Original Message-
> From: Berwin A Turlach [mailto:[EMAIL PROTECTED]
> Sent: Friday, May 16, 2008 12:27 PM
> To: Doran, Harold
> Cc: Birgit Lemcke; R Hilfe
> Subject:
G'day Harold,
On Fri, 16 May 2008 11:43:32 -0400
"Doran, Harold" <[EMAIL PROTECTED]> wrote:
> N+M gives only the main effects, N:M gives only the interaction, and
> G*M gives the main effects and the interaction.
I guess this begs the question what you mean with "N:M gives only the
interaction"
e
> Subject: [R] glm model syntax
>
>
> Hello R users!
>
> What is the difference between
>
> glm(A~N+M)
> glm(A~N:M)
> glm(A~N*M)
>
> Thanks in advance.
>
> Birgit
>
> Birgit Lemcke
> Institut für Systematische Botanik
> Zollikerstrasse
Hello R users!
What is the difference between
glm(A~N+M)
glm(A~N:M)
glm(A~N*M)
Thanks in advance.
Birgit
Birgit Lemcke
Institut für Systematische Botanik
Zollikerstrasse 107
CH-8008 Zürich
Switzerland
Ph: +41 (0)44 634 8351
[EMAIL PROTECTED]
175 Jahre UZH
«staunen.erleben.begreifen. Naturwi
5 matches
Mail list logo