lbinorm {LearnBayes}R Documentation

Logarithm of bivariate normal density

Description

Computes the logarithm of a bivariate normal density

Usage

lbinorm(xy,par)

Arguments

xy matrix of values where each row corresponds to a value of (x, y)
par list with components m, a vector of means, and v, a variance-covariance matrix

Value

vector of values of the kernel of the log density

Author(s)

Jim Albert

Examples

mean=c(0,0)
varcov=diag(c(1,1))
values=rbind(c(0,0),c(1,1))
par=list(m=mean,v=varcov)
lbinorm(values,par)

[Package LearnBayes version 1.0 Index]