on 01/23/2009 11:10 AM Stephen Collins wrote:
> When including categorical variables in a regression, the default in R is
> to set the first level as the base. Is there an option to specify a
> different level as the base?
See ?relevel and the See Also's listed therein.
HTH,
Marc Schwartz
_
-
Von: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] Im
Auftrag von Stephen Collins
Gesendet: Friday, January 23, 2009 12:10 PM
An: r-h...@stat.math.ethz.ch
Betreff: [R] Categorical Variables and glm()
When including categorical variables in a regression, the default in R
When including categorical variables in a regression, the default in R is
to set the first level as the base. Is there an option to specify a
different level as the base?
Regards,
Stephen Collins, MPP | Analyst
Health & Benefits | Aon Consulting
[[alternative HTML version deleted]]
3 matches
Mail list logo