Description Usage Arguments See Also Examples
Structured sparse matrix with only one non-zero value off the diagonal
1 | strucMatrixOneOffDiag(diagVal, offDiagVal, offDiagInds, matSize)
|
diagVal |
unique value for the diagonal |
offDiagVal |
unique value for the off-diagonal |
offDiagInds |
indices for the two correlated objects |
matSize |
size of the matrix |
Other strucMatrixSpecial: strucMatrixBlank
;
strucMatrixCol
;
strucMatrixCompSymm
;
strucMatrixConstVarChol
;
strucMatrixCorFactor
;
strucMatrixCorMatChol
;
strucMatrixDiag
;
strucMatrixExpChol
;
strucMatrixFull
;
strucMatrixGenFullTri
;
strucMatrixIdent
;
strucMatrixInd
;
strucMatrixOnes
;
strucMatrixSymm
;
strucMatrixTri
;
strucMatrixVarWithCovariate
1 | (xOneOffDiag <- strucMatrixOneOffDiag(1, -0.2, c(5, 2), 5))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.