Description Usage Arguments Value See Also
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
).
1 2 3 | copnum2name(num)
copname2num(name)
|
num |
Vector of integer codes. |
name |
Vector of copula family names (without indication of rotation) |
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 the help page for RVineCopSelect
in the VineCopula
package for the mapping from code to copula family.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.