C2RVine | R Documentation |
This function transforms a C-vine structure from the package CDVine to the corresponding R-vine structure.
C2RVine(order, family, par, par2 = rep(0, length(family)))
order |
A d-dimensional vector specifying the order of the root nodes in the C-vine. |
family |
A d*(d-1)/2 vector of pair-copula families with values |
par |
A d*(d-1)/2 vector of pair-copula parameters. |
par2 |
A d*(d-1)/2 vector of second pair-copula parameters (optional;
default: |
An RVineMatrix()
object.
Ulf Schepsmeier, Eike Brechmann
RVineMatrix()
, D2RVine()
# set up C-vine copula model with mixed pair-copulas
d <- 4
dd <- d*(d-1)/2
order <- 1:d
family <- c(1, 2, 3, 4, 7, 3)
par <- c(0.5, 0.4, 2, 1.5, 1.2, 1.5)
par2 <- c(0, 5, 0, 0, 2, 0)
# transform to R-vine matrix notation
RVM <- C2RVine(order, family, par, par2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.