These options will be used on objects of class 'sparseMatrix' from the 'Matrix' package in compressed column, compressed row or triplet form, i.e. objects of classes such as 'dgCMatrix', 'dgRMatrix', 'dgTMatrix', 'lgCMatrix', 'ngCMatrix', 'dsCMatrix' or 'dtCMatrix'.
Usage
opts_sparseMatrix(constructor = c("sparseMatrix", "next"), ...)Details
Depending on constructor, we construct the object as follows:
"sparseMatrix"(default): We build the object usingMatrix::sparseMatrix()on the (1-based) row and column indices of the stored entries. If this cannot reproduce the object exactly (e.g. cached factorizations, unit triangular matrices) we fall back to the next constructor."next": Use the constructor for the next supported class. Call.class2()on the object to see in which order the methods will be tried.
