dmvnorm_diag {sparsediscrim}R Documentation

Computes multivariate normal density with a diagonal covariance matrix

Description

Alternative to mvtnorm::dmvnorm

Usage

dmvnorm_diag(x, mean, sigma)

Arguments

x

matrix

mean

vector of means

sigma

vector containing diagonal covariance matrix

Value

multivariate normal density


[Package sparsediscrim version 0.3.0 Index]