[R] Interaction

Silvano Cesar da Costa silvano at uel.br
Mon Oct 29 21:23:02 CET 2012


Hi,

I'm fitting a model with 3 variables: A, B and SNP.
The response variable is Y.

I would like fit the following model, in this order:

Y ~ A + B + A*B + SNP

In general, the R sets of the form:

Y ~ A + B + SNP + A*B

How do this?


---------------------------------------------
Silvano Cesar da Costa

Universidade Estadual de Londrina
Centro de Ciências Exatas
Departamento de Estatística

Fone: (43) 3371-4346



More information about the R-help mailing list