[R] factor names

Iasonas Lamprianou lamprianou at yahoo.com
Mon Jan 3 12:18:37 CET 2011


Dear all
I have a factor variable which holds values like "Engineer", "Doctor", "Teacher" 
etc. I would like to collapse those categories so that Teachers and Sociologists 
form one category named "Teach & Soc" etc. However, I do not know how I can do 
it. Recoding does not seem to work. 

Thank you
 Dr. Iasonas Lamprianou




Assistant Professor (Educational Research and Evaluation)
Department of Education Sciences
European University-Cyprus
P.O. Box 22006
1516 Nicosia
Cyprus 
Tel.: +357-22-713178
Fax: +357-22-590539




Honorary Research Fellow
Department of Education
The University of Manchester
Oxford Road, Manchester M13 9PL, UK
Tel. 0044  161 275 3485
iasonas.lamprianou at manchester.ac.uk







More information about the R-help mailing list