Vine: Create Vine Objects

Description Usage Arguments See Also Examples

Description

Functions to create Vine objects.

Usage

1
2
3
4
5
6
7
8
9
Vine(type, dimension = 2, trees = dimension - 1,
     copulas = matrix(list(indepCopula()), 
                      dimension - 1, dimension - 1))
CVine(dimension = 2, trees = dimension - 1,
      copulas = matrix(list(indepCopula()), 
                       dimension - 1, dimension - 1))
DVine(dimension = 2, trees = dimension - 1,
      copulas = matrix(list(indepCopula()), 
                       dimension - 1, dimension - 1))

Arguments

type

Type of vine. Supported values: "CVine" and "DVine".

dimension

See the documentation of the Vine slot.

trees

See the documentation of the Vine slot.

copulas

See the documentation of the Vine slot.

See Also

Vine, CVine, DVine.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
dimension <- 3
copulas <- matrix(list(normalCopula(0.5),
                       claytonCopula(2.75),
                       tCopula(0.75, df = 2),
                       NULL),
                  ncol = dimension - 1,
                  nrow = dimension - 1,
                  byrow = TRUE)

Vine("DVine", dimension = dimension, trees = dimension - 1,
     copulas = copulas)
DVine(dimension = dimension, trees = dimension - 1,
      copulas = copulas)

yasserglez/vines documentation built on June 9, 2021, 10:06 a.m.