
Constructive options for class 'diagonalMatrix'
Source:R/s4-diagonalMatrix.R
opts_diagonalMatrix.RdThese options will be used on objects of class 'diagonalMatrix' from the 'Matrix' package, i.e. objects of classes 'ddiMatrix' or 'ldiMatrix'.
Usage
opts_diagonalMatrix(constructor = c("Diagonal", "next"), ...)Details
Depending on constructor, we construct the object as follows:
"Diagonal"(default): We build the object usingMatrix::Diagonal(). If this cannot reproduce the object exactly (e.g. different row and column names) 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.