Skip to content
Prev 66553 / 398502 Next

How to split a single vector into a multiple-column and multiple-row matrix

You can use 'matrix()', as in

x <- 1:2000
matrix(x, nrow = 200, ncol = 10)

-roger
R_xprt_wannabe wrote: