mvnpdf: Multivariate-Normal probability density function

Description Usage Arguments Details Value Examples

Description

This is a concise description of what the function does.

Usage

1
2
mvnpdf(x, mean = rep(0, nrow(x)), varcovM = diag(nrow(x)),
  Log = TRUE)

Arguments

x

a p x n data matrix with n the number of observations and p the number of dimensions

mean

mean vector

varcovM

variance-covariance matrix

Log

logical flag for returning the log of the probability density function. Default is TRUE.

Details

This part gives more details on the function.

Value

a list containing the input matrix x and y the multivariate-Normal probability density function computed at x

Examples

1
2
3
4
mvnpdf(x=matrix(1.96), Log=FALSE)
dnorm(1.96)

mvnpdf(x=matrix(rep(1.96, 2), nrow=2, ncol=1), Log=FALSE)

jdumerc/mypkgr documentation built on May 13, 2019, 6:09 p.m.