search for: tp24161021p24161038

Displaying 1 result from an estimated 1 matches for "tp24161021p24161038".

Did you mean: tp24161021p24161021
2009 Jun 23
2
Partitioning matrix
Let say, I have following matrix : dat <- matrix(rnorm(40), 2, 20) Now I want to partition this like this : dat1 <- dat[1,] dat2 <- dat[2,] But point is that, dat1 and dat2 become vector object. How can I force them to be matrix object with dimension (1x20) ? Thanks, -- View this message in context: http://www.nabble.com/Partitioning-matrix-tp24161021p24161021.html Sent from the R