Skip to content
Prev 131920 / 398506 Next

combine variables to matrix

Andre Jung wrote:
as.matrix(data) ?

(or, if you know the dimensions,

M <- matrix(scan("data.text"), 1200, 1200)

)