[R] How to change a numeric vector to a character value

Soyeon Kim yunni0731 at gmail.com
Fri Dec 3 21:05:11 CET 2010


Dear All,
When I have a numeric vector, I want to change it to one character value.
For example,
When I have
 test <- c(4, 5, 3, 2)
I want to change it to "4 5 3 2"(one character value)

How can I get it?

Thanks in advance,
Soyeon



More information about the R-help mailing list