dCopula-methods: Copula density

Description Usage Arguments Value Functions Examples

Description

This function returns the density of a given copula on given observations.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
dCopula(u, copula, ...)

## S4 method for signature 'matrix,Cort'
dCopula(u, copula)

## S4 method for signature 'matrix,CortForest'
dCopula(u, copula)

## S4 method for signature 'matrix,cbCopula'
dCopula(u, copula)

Arguments

u

numeric matrix : one row per observation

copula

the copula object

...

other parameter to be passed to methods for this generic.

Value

The density of the copula on each observation

Functions

Examples

1
2
3
4
cop <- cbCopula(cort::funcdep_data[1:10,1:2], m = 5)
dCopula(rep(0,2),cop)
dCopula(rep(0.5,2),cop)
dCopula(rep(1,2),cop)

cort documentation built on Jan. 13, 2021, 8:57 p.m.