dwishart | R Documentation |
Calculate the density for a Wishart model
dwishart(
W = NULL,
x = NULL,
W_chol = NULL,
V_chol,
df,
lower_chol = FALSE,
log = FALSE
)
W |
A Wishart matrix, Default: NULL |
x |
A latent parameter vector for Wishart model, Default: NULL |
W_chol |
The Cholesky factor of a Wishart matrix, Default: NULL |
V_chol |
The Cholesky factor of the V-parameter for a Wishart model |
df |
The Wishart degrees of freedom parametre |
lower_chol |
|
log |
If |
This function requires the CholWishart::lmvgamma
function from
the CholWishart
package.
The density or log-density (if log == TRUE
) for W
, or the W
matrix constructed from a Cholesky factor W_chol
This is an internal non-exported function
## Not run:
if (interactive()) {
# EXAMPLE1
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.