Alternative to mvtnorm::dmvnorm

dmvnorm_diag(x, mean, sigma)

Arguments

x

matrix

mean

vector of means

sigma

vector containing diagonal covariance matrix

Value

multivariate normal density