copnum2name: Convert between Copula Number and Name

Description Usage Arguments Value See Also

View source: R/copnum2name.R

Description

The VineCopula package codes the copula families by some integer, whereas the CopulaModel package uses a naming convention. These functions converts the integer code to the copula family name (copnum2name), or vice versa (copname2num).

Usage

1
2
3

Arguments

num

Vector of integer codes.

name

Vector of copula family names (without indication of rotation)

Value

For copnum2name, returns a character vector of the copula family names (down to the rotation). NA for non-existent families.

For copname2num, returns a list with entries corresponding to name of the integer codes for that family, including all the rotations if they're different. NULL entry if copula model not found.

See Also

See the help page for RVineCopSelect in the VineCopula package for the mapping from code to copula family.


vincenzocoia/copsupp documentation built on Aug. 23, 2020, 7:37 a.m.