Dear R users... 

I'd like to change this character vector, "zz",  

zz <- c("12","56","89")

to the following numeric matrix.

     [,1] [,2]
[1,]    1    2
[2,]    5    6
[3,]    8    9


Actually, "zz" vector has a long length.

Any comments will be greatly appreciated.

Kathryn Lord

-- 
View this message in context: 
http://www.nabble.com/character-vector--%3E-numeric-matrix----tp24703927p24703927.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to