Description Usage Arguments Note See Also Examples
General and full triangular structured sparse matrix
1 |
nrow,ncol |
number of rows and columns |
vals |
values for the nonzero values |
diag |
include diagonal? |
low |
lower triangular? |
Beware there appear to be bugs here.
Other strucMatrixSpecial: strucMatrixBlank
;
strucMatrixCol
;
strucMatrixCompSymm
;
strucMatrixConstVarChol
;
strucMatrixCorFactor
;
strucMatrixCorMatChol
;
strucMatrixDiag
;
strucMatrixExpChol
;
strucMatrixFull
;
strucMatrixIdent
;
strucMatrixInd
;
strucMatrixOneOffDiag
;
strucMatrixOnes
;
strucMatrixSymm
;
strucMatrixTri
;
strucMatrixVarWithCovariate
1 2 | set.seed(1)
(xGenFullTri <- strucMatrixGenFullTri(5, 5, rnorm(choose(6, 2))))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.