dmvnorm.precis: Multivariate normal density function parametrized in terms of...

View source: R/gaussian.R

dmvnorm.precisR Documentation

Multivariate normal density function parametrized in terms of a precision matrix

Description

This function returns the log-density for a multivariate Gaussian distribution.

Usage

dmvnorm.precis(x, mean, precis, logd = FALSE)

Arguments

x

matrix or vector of observations

mean

mean vector

precis

precision matrix

logd

logical; whether log-density should be returned (default to FALSE)

Value

density or log-density of the nrow(x) sample


lbelzile/mgp documentation built on Aug. 5, 2023, 2:34 a.m.