dbinorm: Density of a bivariate normal distribution

View source: R/utils.R

dbinormR 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

Examples

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

RandomFieldsUtils documentation built on April 19, 2022, 5:09 p.m.