gt;
>
> From: r-help-boun...@r-project.org [r-help-boun...@r-project.org] On Behalf
> Of Noah Silverman [n...@smartmediacorp.com]
> Sent: March 19, 2010 12:54 PM
> To: r-help@r-project.org
> Subject: [R] Factor variables with GAM models
It doesn't usually make much sense to *smooth* over a factor variable (in the
cases where it does you should treat the factor as a random effect), but
there is no problem in including factor variables in a GAM. `gam' lets you
mix factor and continuous variables in a bunch of ways. Suppose that `
2:54 PM
To: r-help@r-project.org
Subject: [R] Factor variables with GAM models
I'm just starting to learn about GAM models.
When using the lm function in R, any factors I have in my data set are
automatically converted into a series of binomial variables.
For example, if I have a data.fr
rg [r-help-boun...@r-project.org] On Behalf Of
Noah Silverman [n...@smartmediacorp.com]
Sent: March 19, 2010 12:54 PM
To: r-help@r-project.org
Subject: [R] Factor variables with GAM models
I'm just starting to learn about GAM models.
When using the lm function in R, any factors I have in my d
___
From: r-help-boun...@r-project.org [r-help-boun...@r-project.org] On Behalf Of
Noah Silverman [n...@smartmediacorp.com]
Sent: March 19, 2010 12:54 PM
To: r-help@r-project.org
Subject: [R] Factor variables with GAM models
I'm just starting to learn about GAM models.
When using the l
I'm just starting to learn about GAM models.
When using the lm function in R, any factors I have in my data set are
automatically converted into a series of binomial variables.
For example, if I have a data.frame with a column named color and values
"red", "green", "blue". The lm function a
6 matches
Mail list logo