| cgeneric_LKJ | R Documentation |
cgeneric model for
the LKG prior on correlation matrix.Build an cgeneric model for
the LKG prior on correlation matrix.
cgeneric_LKJ(
n,
eta,
sigma.prior.reference = rep(1, n),
sigma.prior.probability = rep(NA, n),
...
)
n |
integer to define the size of the matrix |
eta |
numeric greater than 1, the parameter |
sigma.prior.reference |
numeric vector with length |
sigma.prior.probability |
numeric vector with length |
... |
additional arguments passed to |
a cgeneric object, see INLAtools::cgeneric() for details.
It uses the Cannonical Partial Correlation (CPC),
parametrization, see basecor() for details.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.