Displaying 1 result from an estimated 1 matches for "1000x4".
Did you mean:
1000x
2010 Jan 27
1
How to split a matrix into a few matrices?
Hi dear users,
I try to split a matrix into a few matrices, for example, suppose that I
have 1000X4 matrix from mvrnorm(1000,m,c) with
m<-matrix(c(0,0,0,2),4,1) and
c<-matrix(c(1.0,0.2,-0.5,0.3,0.2,1,0.2,-0.5,-0.5,0.2,1,0.2,0.3,-0.5,0.2,1),4,4,byrow=T)
How to split the matrix into
a. 2 matrices which the first one consists of the first 500 rows, and the
second one consist of the las...