transp {lazy.mat} | R Documentation |
Transpose each matrix contained in a list/array/syupermatrix..
transp(body, method = 1, n3 = 0)
body |
list/array/supermatrix containing matrices If the body is a supermatrix and SMdim attribute of which is NULL, The following two parameters must be given. |
method |
= 1 when the supermatrix is horizontally stacked one =2 when the supermatrix is vertically stacked one |
n3 |
# 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.
list/array/supermatrix consisting of the transposed matrices
transp(demomat(4,3,2)) transp(demomat(4,3,2,supermat=2))