Skip to content
Prev 354368 / 398498 Next

question about categorical variables in R

You need to read the Introduction to R, paying particular attention to the factors data type, which is designed for this problem.

You should also be aware that on this list failure to include a small example of your problem in R, using plain text email (a setting in your email program), often leads to getting no response at all. Conversely, if you do provide an example, the response will often include modifications to your example code that you can study.[1] Also, you really ought to read the Posting Guide given at the bottom of every R-help posting.

http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.
On September 11, 2015 7:45:42 AM PDT, Lida Zeighami <lid.zigh at gmail.com> wrote: