Description Usage Arguments See Also Examples
Diagonal structured sparse matrix
1 | strucMatrixDiag(vals, valInds)
|
vals |
vector of values |
valInds |
vector of value indices |
Other strucMatrixSpecial: strucMatrixBlank;
strucMatrixCol;
strucMatrixCompSymm;
strucMatrixConstVarChol;
strucMatrixCorFactor;
strucMatrixCorMatChol;
strucMatrixExpChol;
strucMatrixFull;
strucMatrixGenFullTri;
strucMatrixIdent;
strucMatrixInd;
strucMatrixOneOffDiag;
strucMatrixOnes;
strucMatrixSymm;
strucMatrixTri;
strucMatrixVarWithCovariate
1 2 | set.seed(1)
(xDiag <- strucMatrixDiag(rnorm(5)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.