RandomFieldsUtils (version 1.2.5)

dbinorm: Density of a bivariate normal distribution

Description

The function calculates the value of a bivariate normal distribution with mean 0.

Usage

dbinorm (x, S)

Arguments

x

a matrix containing the \(x\) values and the \(y\) values in the first and second row respectively. Or it is a list of two vectors.

S

the covariance matrix; currently only diagonal matrix possible

Value

a vector according to the size of x

Examples

Run this code
# NOT RUN {
x <- matrix(1:6, nc=2) + 0.0
C <- diag(c(1,2))
dbinorm(x, C)
# }

Run the code above in your browser using DataLab