[R] convert "1", "10", and "100" to "0001", "0010", "0100" etc.

Peng, C cpeng.usm at gmail.com
Sat Sep 11 03:25:39 CEST 2010


These are character values. Is there any way to get 001, 010, ..., as actual
numeric values?
-- 
View this message in context: http://r.789695.n4.nabble.com/convert-1-10-and-100-to-0001-0010-0100-etc-tp2535023p2535296.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list