Dear all, Thank for your friendliness.
I have read several documents and I'm sure that if I have time to read ALL documents in the world I would not need to be part of this list, because of my capabilities... I have used this idea (factors) in several cases in which dummy variables arise, but I asked about the question because (in relation with my humility) I thought I had used the idea incorrectly. Nevertheless, I have noticed all I know is all I have to know about this question. Regards. Eva --- El dom, 21/4/13, Rolf Turner <rolf.tur...@xtra.co.nz> escribió: De: Rolf Turner <rolf.tur...@xtra.co.nz> Asunto: Re: [R] creating dummy variables Para: "Eva Prieto Castro" <evapcas...@yahoo.es> CC: "r-help@R-project.org" <r-help@r-project.org> Fecha: domingo, 21 de abril, 2013 03:16 On 21/04/13 10:56, Eva Prieto Castro wrote: > Hi, > > Why do you write that dummy variables are not needed in R?. I would like you > explain it. 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 [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.