R/filest.R
rbind_bigmatrix.Rd
Combind two matrices by row for big data, internally used for parallelization
rbind_bigmatrix(a, b)
The first matrix
The second matrix
The combined matrix by row
cbind_bigmatrix
X <- matrix(c(1,2,0,1,2,2,1,2,0,0,1,2,1,2,2,2),ncol=4) Y <- matrix(c(2,1,1,0,1,0,0,1,1,2,2,0,0,1,1,0),ncol=4) Z <- rbind_bigmatrix(X,Y) print(Z) #> [,1] [,2] [,3] [,4] #> [1,] 1 2 0 1 #> [2,] 2 2 0 2 #> [3,] 0 1 1 2 #> [4,] 1 2 2 2 #> [5,] 2 1 1 0 #> [6,] 1 0 2 1 #> [7,] 1 0 2 1 #> [8,] 0 1 0 0