Description Usage Arguments Value Examples
Wishart probability density function
1 | density_wishart(X, v, S, logret = FALSE)
|
v |
An integer, the degrees of freedom of the distribution. |
S |
A numeric matrix, the scale matrix of the distribution. of the variance-covariance matrix) of the distribution. |
logret, |
a logical value indicating whether to return the log density. Defaults to FALSE. |
x |
A numeric matrix, the point at which the density is to be evaluated. |
A column real number: the value of the probability density function by the default or the natural logarithm if logret is TRUE.
1 2 3 | M <- matrix(c(1, 0.5, 0.5, 1), 2, 2)
density_wishart(M, 10, M)
density_wishart(M, 10, M, TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.