Mh2Mv {lazy.irtx} | R Documentation |
Convert a horizontally stacked supermatrix to a vertially stacked one.
Mh2Mv(Mh, d1, d2, d3)
Mh |
Input horizontally stacked supermatrix with SMdim attribute. |
d1 |
# of first dimension (rows) |
d2 |
# of second dimension (cols) |
d3 |
# of matrices |
About SMdim attribute:
SMdim attribute of a supermatrix is a list of the form
(nrows=, ncols=) where
nrows is a vector of rows of each submatrix,
ncols is a vector of columns of each submatrix.
a (d3 x d1) x d2 vertically stacked supermatrix
Mh2Mv(demomat(4,3,2,supermat=1))