Combind two matrices by column for big data, internally used for parallelization

cbind_bigmatrix(a, b)

Arguments

a

The first matrix

b

The second matrix

Value

The combined matrix by column

See also

Examples

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