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