powered by
Bivariate normal density with mean 0 variance 1.
dphixy(x, y, rho)
the density value.
points value.
correlation coefficient.
library(mvtnorm) dmvnorm(c(1,-1),sigma = matrix(c(1,0.5,0.5,1),2,2)) dphixy(1,-1,0.5)
Run the code above in your browser using DataLab