The Multivariate Normal Density
dmvnorm.RdDensity and log-density for the multivariate normal distribution
with mean equal to mu
and variance matrix equal to sigma.
Arguments
- y
Either a \(d\) - vector or an \(n\times d\) matrix, where \(d\) is the dimension of the normal distribution and \(n\) is the number of points at which the density is to be evaluated.
- mu
\(d\) - vector: Mean of the normal distribution (or NULL uses the origin as default)
- sigma
This \(d\times d\) matrix is the variance matrix of the normal distribution (or NULL uses the identity matrix as default)