Description Usage Arguments See Also Examples
Structured sparse diagonal covariance matrix with a covariate determining the diagonal
1 2 | strucMatrixVarWithCovariate(varPars, covariate, grpFac,
mkTransFunc = mkVarExpTrans)
|
varPars |
vector of variance parameters (one per level of
|
covariate |
covariate |
grpFac |
a grouping factor (or anything coercible to
|
mkTransFunc |
a function taking arguments |
Other strucMatrixSpecial: strucMatrixBlank;
strucMatrixCol;
strucMatrixCompSymm;
strucMatrixConstVarChol;
strucMatrixCorFactor;
strucMatrixCorMatChol;
strucMatrixDiag;
strucMatrixExpChol;
strucMatrixFull;
strucMatrixGenFullTri;
strucMatrixIdent;
strucMatrixInd;
strucMatrixOneOffDiag;
strucMatrixOnes;
strucMatrixSymm;
strucMatrixTri
1 | (xVarWithCovariate <- strucMatrixVarWithCovariate(rep(1, 5), 0.05*(4:0)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.