my_dmvn: Calculate the density

Description Usage Arguments Value

Description

This function calculates the MVN density.

Usage

1
my_dmvn(my_vec, l, logl)

Arguments

my_vec

numeric vector. First l values represent the observations, the next l values represent the predictions (means), and the last l^2 values represent the estimated residual covariance matrix.

l

numeric. Number of dimensions.

logl

logical. Calculate log density? Defaults to true.

Value

numeric vector. The (log) density.


gregorp90/RStan-package-test documentation built on May 26, 2019, 1:32 a.m.