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