dbvnorm {nclbayes}R Documentation

The Bivariate Normal distribution

Description

Density of the bivariate normal distribution with mean vector b and covariance matrix c.

Usage

dbvnorm(x, y, b = c(0, 0), c = diag(1, 2))

Arguments

x

vector of quantities.

y

vector of quantities.

b

mean vector (2x1).

c

covariance matrix. Must be positive definite 2x2 matrix.

Examples

dbvnorm(1, 2, c(1,2), diag(1,2))

[Package nclbayes version 0.3.10 Index]