Density function and random generation for the multivariate normal
distribution with mean vector mu
and covariance matrix Sigma
.
dmulti_normal(x, mu, Sigma, log = FALSE, check = FALSE)
rmulti_normal(n, mu, Sigma, check = FALSE)
Vector or matrix of quantiles. If x
is a matrix,
each row is taken to be a quantile.
Mean vector with length equal to the number of dimensions.
Covariance matrix.
Logical; If TRUE
, values are returned on the log scale.
Logical; Indicates whether several input checks
should be performed. Defaults to FALSE
to improve
efficiency.
Number of draws to sample from the distribution.
See the Stan user's manual https://mc-stan.org/documentation/ for details on the parameterization