mvndensity: mvndensity

Description Usage Arguments Value Author(s) See Also Examples

View source: R/interfaces.R

Description

get densities of a set of elements w.r.t a multivariate normal.

Usage

1
mvndensity(mean, cov, data, rescaled=FALSE)

Arguments

mean

numeric vector, mean of the multivariate normal.

cov

covariance matrix of the multivariate normal.

data

matrix of row-elements.

rescaled

if TRUE, a variant accouting for data dimensionality is computed.

Value

numeric vector containing densities.

Author(s)

Pierrick Bruneau

See Also

mvngen

Examples

1
2
3
temp <- mvngen(c(0, 0), diag(2), 5)
mvndensity(c(0,0), diag(2), temp)
#[1] 0.137188286 0.032318242 0.005181099 0.047312602 0.033178600

VBmix documentation built on May 30, 2017, 2:34 a.m.

Search within the VBmix package
Search all R packages, documentation and source code