[R] how to change automatically 0=no and 1=yes

From: Muhammad Subianto <subianto_at_gmail.com>
Date: Wed 15 Jun 2005 - 23:58:17 EST


Dear R-helpers,
I have dataset (data.frame) like below,

   x1 x2 x3 x4 x5 x6 x7 x8 x9 ... x1200     0 0 0 1 1 0 0 1 1     1 0 0 1 1 0 0 1 1     0 1 0 1 1 0 0 1 1     1 1 0 1 1 0 0 1 1 ...
How can I change automatically 0=no and 1=yes.

Thank you very much in advance.
Kindly regards,
Muhammad Subianto



R-help@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 Received on Thu Jun 16 00:02:00 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:41 EST