sp2mat {asreml} | R Documentation |
Convert a sparse matrix in three column coordinate form to a dense matrix.
sp2mat(x)
x |
A three column matrix containing the row and column indices and the matrix element, respectively. |
If the sparse matrix inherits class ginv
, the returned matrix
preserves the A^{-1} attributes.