expand {Matrix} | R Documentation |
Expands decompositions stored in compact form into factors.
expand(x, ...)
x |
a matrix decomposition. |
... |
the method for "qr.Matrix" has an additional argument.
|
This is a generic function with special methods for different types
of decompositions.
Use methods("expand")
to list all the methods for the
expand
generic.
the expanded decomposition.
Factors for decompositions such as lu
and qr
can be
stored in a compact form.
The function expand
allows all factors to be fully expanded.
library(Matrix) x <- Matrix( 1:9, 3, 3) expand(qr(x))