BiCop2copula: Construction of a Copula Object from a VineCopula Family...

View source: R/0_wrappers.R

BiCop2copulaR Documentation

Construction of a Copula Object from a VineCopula Family Index

Description

A VineCopula family index along with its parameters is used to construct a corresponding copula::copula object.

Usage

BiCop2copula(family, par, par2 = 0, obj = NULL)

copulaFromFamilyIndex(family, par, par2 = 0)

Arguments

family

a family index as defined in VineCopula::VineCopula-package.

par

first parameter.

par2

second parameter.

obj

VineCopula::BiCop() object containing the family and parameter specification.

Details

If the family and parameter specification is stored in a ⁠[VineCopula::BiCop()]⁠ object obj, the alternative version

BiCop2copula(u1, u2, obj)

can be used.

Value

An object inheriting copula::copula corresponding to the specific family.

Examples

# normalCopula with parameter 0.5
BiCop2copula(1, 0.5)

# rotated Tawn T2 copula
BiCop2copula(224, -2, 0.5)


VC2copula documentation built on Aug. 19, 2025, 1:14 a.m.