Description Usage Arguments Value Examples
Create an object of class 'rvine'
1 |
G |
G-Vine array |
copmat |
Upper triangular |
cparmat |
Upper triangular |
An object of class 'rvine', which is a named list of the arguments.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | ## Empty vine:
rvine(matrix(nrow=0, ncol=0))
## Independence vine:
(rv <- rvine(matrix(4:1, ncol = 4)))
## Take a look at each component of the vine:
summary(rv)
G <- AtoG(CopulaModel::Dvinearray(4))
(rv <- rvine(G, "frk", 2))
summary(rv)
(rv <- rvine(G, "bvtcop", c(0.4, 5)))
G <- AtoG(CopulaModel::Dvinearray(5))
copmat <- makevinemat("gum",
c("bvtcop", "frk"),
c("mtcj", "frk", "indepcop"),
c("bvncop", "joe", "mtcj", "frk"),
zerocol = TRUE)
cparmat <- makevinemat(3.1,
list(c(0.5, 4), 2.3),
list(4.2, 3.5, numeric(0)),
c(0.5, 2.2, 2.5, 1.6), zerocol = TRUE)
rv <- rvine(G, copmat, cparmat)
summary(rv)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.