[R] Indicator variables for modeling in R ?
Bert Gunter
gunter.berton at gene.com
Thu Aug 2 00:11:25 CEST 2012
1. Is there ever a situation using the R recommended packages only (to
keep things reasonable) where one explicitly needs to create indicator
variables to do statistical modeling?
2. If so, does model.matrix() always suffice to do this?
In any situation I can imagine, one would create a factor and then
proceed from there. But I may lack imagination.
Thanks.
-- Bert
--
Bert Gunter
Genentech Nonclinical Biostatistics
Internal Contact Info:
Phone: 467-7374
Website:
http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm
More information about the R-help
mailing list