Skip to content
Prev 322069 / 398500 Next

creating dummy variables

On 21/04/13 10:56, Eva Prieto Castro wrote:
As others have said --- do some self-study.  But a brief answer is that 
in any
"reasonable" modelling problem in which dummy variables might arise, R 
creates
the dummy variables that it uses automagically , behind the scenes, from 
the *factors*
whose levels correspond to the dummy variables.

Summary:  Learn about and understand *factors*; forget about dummy
variables.

     cheers,

         Rolf Turner