[R] Recoding factors

Uwe Ligges ligges at statistik.uni-dortmund.de
Mon Oct 18 13:43:58 CEST 2004


Neil Leonard wrote:

> I'm having a bit of trouble recoding factors in a fields.
> 
> I have a field which has the factors Singleton, Twin and Triplet.
> I want to recode the field to have only the factors Singleton and Multiple.
 >
> Any advice?

Depends on what you are going to do with the Twin ...

Uwe Ligges



> Cheers,
> Neil
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html




More information about the R-help mailing list