dmvnorm | R Documentation |
This function computes the density of a multivariate normal distribution.
dmvnorm(x, mean, Sigma, log = FALSE)
x |
A quantile vector of length |
mean |
The mean vector of length |
Sigma |
The covariance matrix of dimension |
log |
A boolean, if |
The density value.
x = c(0,0)
mean = c(0,0)
Sigma = diag(2)
dmvnorm(x = x, mean = mean, Sigma = Sigma)
dmvnorm(x = x, mean = mean, Sigma = Sigma, log = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.