LearnBayes (version 2.15.1)

lbinorm: Logarithm of bivariate normal density

Description

Computes the logarithm of a bivariate normal density

Usage

lbinorm(xy,par)

Arguments

xy

vector of values of two variables x and y

par

list with components m, a vector of means, and v, a variance-covariance matrix

Value

value of the kernel of the log density

Examples

Run this code
# NOT RUN {
mean=c(0,0)
varcov=diag(c(1,1))
value=c(1,1)
param=list(m=mean,v=varcov)
lbinorm(value,param)
# }

Run the code above in your browser using DataLab