dWishart0: The density of the Wishart distribution

Description Usage Arguments Examples

View source: R/mc_rv_density.R

Description

The density of the Wishart distribution

Usage

1
dWishart0(X, v, M, log = FALSE)

Arguments

X

numeric matrix.

v

degrees of freedom (> 0, maybe non-integer).

M

numeric matrix; the scale matrix.

log

logical; if TRUE, returns the log value.

Examples

1
2
3
4
d <- 3
mat0 <- crossprod(randn(d, d))
X <- rWishart0(v = 10, M = mat0)
dWishart0(X, v = 10, M = mat0)

ADtools documentation built on Nov. 9, 2020, 5:09 p.m.