dbinorm {RandomFieldsUtils}R Documentation

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

Author(s)

Martin Schlather, schlather@math.uni-mannheim.de, https://www.wim.uni-mannheim.de/schlather/

Examples

x <- matrix(1:6, nc=2) + 0.0
C <- diag(c(1,2))
dbinorm(x, C)

[Package RandomFieldsUtils version 1.2.2 Index]