lbinorm {LearnBayes} | R Documentation |
Computes the logarithm of a bivariate normal density
lbinorm(xy,par)
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 |
vector of values of the kernel of the log density
Jim Albert
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)