R/0_wrappers.R
BiCop2copula.Rd
A VineCopula family index along with its parameters is used to construct a corresponding copula object.
BiCop2copula(family, par, par2 = 0, obj = NULL)
copulaFromFamilyIndex(family, par, par2 = 0)
a family index as defined in VineCopula-package()
.
first parameter.
second parameter.
BiCop()
object containing the family and parameter specification.
An object inheriting copula corresponding to the specific family.
If the family and parameter specification is stored in a [BiCop()]
object
obj
, the alternative version
BiCop2copula(u1, u2, obj)
can be used.
# normalCopula with parameter 0.5
BiCop2copula(1, 0.5)
#> Normal copula, dim. d = 2
#> Dimension: 2
#> Parameters:
#> rho.1 = 0.5
# rotated Tawn T2 copula
BiCop2copula(224, -2, 0.5)
#> r90TawnT2Copula copula, dim. d = 2
#> Dimension: 2
#> Parameters:
#> param1 = -2.0
#> param2 = 0.5