View source: R/s4-diagonalMatrix.R
| opts_diagonalMatrix | R Documentation |
These options will be used on objects of class 'diagonalMatrix' from the 'Matrix' package, i.e. objects of classes 'ddiMatrix' or 'ldiMatrix'.
opts_diagonalMatrix(constructor = c("Diagonal", "next"), ...)
constructor |
String. Name of the function used to construct the object, see Details section. |
... |
Additional options used by user defined constructors through the |
Depending on constructor, we construct the object as follows:
"Diagonal" (default): We build the object using Matrix::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.
An object of class <constructive_options/constructive_options_diagonalMatrix>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.