dmvnorm: Computes the density of a multivariate normal distribution

Description Usage Arguments Value

View source: R/dmvnorm.R

Description

Computes the density of a multivariate normal distribution

Usage

1

Arguments

x

vector or matrix of values for which the density is computed. If x is a vector, it represents a single draw. If x is a matrix, each row is taken to be a single draw.

mean

mean vector

sigma

covariance matrix

log

logical indicating whether to return on the log scale or not. False by default.

Value

Densities of the draws x.


yuekai/UMichBDA documentation built on Oct. 25, 2020, 9:03 p.m.