powered by
The density of the Wishart distribution
dWishart0(X, v, M, log = FALSE)
numeric matrix.
degrees of freedom (> 0, maybe non-integer).
numeric matrix; the scale matrix.
logical; if TRUE, returns the log value.
# NOT RUN { d <- 3 mat0 <- crossprod(randn(d, d)) X <- rWishart0(v = 10, M = mat0) dWishart0(X, v = 10, M = mat0) # }
Run the code above in your browser using DataLab