Checks if a multiblock object is row-stacked, meaning that all component matrices share the same number of columns. In row-stacked multiblock objects, blocks are arranged one above another, with each block potentially having a different number of rows.
See also
is_cstacked for testing if a multiblock object is column-stacked,
multiblock for creating multiblock objects
Examples
# Create row-stacked multiblock (matrices share column dimension)
Y1 <- matrix(rnorm(10*5), 10, 5)
Y2 <- matrix(rnorm(15*5), 15, 5)
mb <- multiblock(list(Y1, Y2))
# Test stacking orientation
is_rstacked(mb) # Returns TRUE
#> [1] TRUE
is_cstacked(mb) # Returns FALSE
#> [1] FALSE