View source: R/distribution_functions.R
Computes the (log) density of the multivariate normal distribution using either the covariance or precision parametrization.
1 |
mu |
mean vector. |
cov, prec |
covariance or precision matrix. Only specify one. |
unnorm |
logical; TRUE ommits all terms not affected by x. |
log |
logical; if TRUE, density calculations are computed on the log scale. |
x |
vector or matrix of values. Multiple observations should correspond to rows. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.