Hello,

How to convert x into y?

> x
[1] "15, 23, 2, 21, 11, 5"

> y
     [,1] [,2]
[1,]   15   23
[2,]   23    2
[3,]    2    21
[4,]   21   11
[5,]   11    5


Thanks a lot!

Romildo

        [[alternative HTML version deleted]]

______________________________________________
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