as_sparse {hmmTMB} | R Documentation |
Transforms matrix to dgTMatrix
Description
Transforms matrix to dgTMatrix
Usage
as_sparse(x)
Arguments
x |
Matrix or vector. If this is a vector, it is formatted into a single-column matrix. |
Value
Sparse matrix of class dgTMatrix
[Package hmmTMB version 1.0.2 Index]