collapse_matrix | R Documentation |
This function is called by collapse_omega()
and collapse_sigma()
to
convert multiple matrix blocks into a single matrix block. This "collapsing"
of the matrix list is irreversible.
collapse_matrix(x, range = NULL, name = NULL)
x |
an object that inherits from |
range |
numeric vector of length 2 specifying the range of matrices
to collapse in case there are more than 2. The second element may be |
name |
a new name for the collapsed matrix; note that this is the
matrix name, not the labels which alias |
An update matlist
object (either omegalist
or sigmalist
).
collapse_omega()
, collapse_sigma()
, omat()
, smat()
omega <- omat(list(dmat(1, 2), dmat(3, 4, 5)))
omega
collapse_matrix(omega)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.