prob,cyl_copula-method {cylcop}R Documentation

Calculate the C-Volume of a 'cyl_copula' Copula

Description

This is a method corresponding to the generic prob() in the 'copula' package.

Usage

## S4 method for signature 'cyl_copula'
prob(x, l, u)

Arguments

x

R object of class 'cyl_copula'.

l

numeric vector of length 2 holding the coordinates of the lower left corner in [0,1]^2.

u

numeric vector of length 2 holding the coordinates of the upper right corner in [0,1]^2.

Value

A numeric in [0,1], the probability that a draw from the 2-dimensional copula x falls in the rectangle defined by l and u.

See Also

copula::prob

Examples

cop <- cyl_quadsec(0.1)
prob(cop, l = c(0.1, 0.3), u = c(0.3, 0.9))


[Package cylcop version 0.2.0 Index]