Description Usage Arguments See Also Examples
Symmetric structured sparse matrix
1 | strucMatrixSymm(diagVals, offDiagVals)
|
diagVals |
values for the diagonal |
offDiagVals |
values for the off-diagonal |
Other strucMatrixSpecial: strucMatrixBlank;
strucMatrixCol;
strucMatrixCompSymm;
strucMatrixConstVarChol;
strucMatrixCorFactor;
strucMatrixCorMatChol;
strucMatrixDiag;
strucMatrixExpChol;
strucMatrixFull;
strucMatrixGenFullTri;
strucMatrixIdent;
strucMatrixInd;
strucMatrixOneOffDiag;
strucMatrixOnes;
strucMatrixTri;
strucMatrixVarWithCovariate
1 2 | set.seed(1)
(xSymm <- strucMatrixSymm(rnorm(5), rnorm(choose(5, 2))))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.