Skip to content
Prev 262488 / 398502 Next

using categorical variable in multiple regression

for categorical independent variables, regression models in R will
generate dummy indicators based on your setting of contrasts (default
contr.treatment). Use model.matrix(your model) to see how R does this
internally.

Weidong Gu
On Sun, Jun 12, 2011 at 2:38 AM, setlist <yespuppy90 at hanmail.net> wrote: