| sp2mat {asreml} | R Documentation |
Convert sparse matrix to dense form
Description
Function that converts a sparse matrix in three-column coordinate form to a dense matrix form.
Usage
sp2mat(x)
Arguments
x |
A three-column matrix containing the row and column indices and the matrix element, respectively. |
Details
If the sparse matrix inherits class ginv, the returned matrix
preserves the A^{-1} attributes.
[Package asreml version 4.2.0.480 Index]