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

rbind_bigmatrix(a, b)

Arguments

a

The first matrix

b

The second matrix

Value

The combined matrix by row

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 <- 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