vineCopula: Constructor of the Class 'vineCopula'.

Description Usage Arguments Value Author(s) References Examples

View source: R/vineCopulas.R

Description

Constructs an instance of the vineCopula class.

Usage

1
vineCopula(RVM, type = "CVine")

Arguments

RVM

An object of class RVineMatrix generated from RVineMatrix in the package VineCopula-package or an integer (e.g. 4L) defining the dimension (an independent Gaussian C-vine of this dimension will be constructed).

type

A predefined type if only the dimension is provided and ignored otherwise, the default is a canonical vine

Value

An instance of the vineCopula class.

Author(s)

Benedikt Graeler

References

Aas, K., C. Czado, A. Frigessi, and H. Bakken (2009). Pair-copula constructions of multiple dependence Insurance: Mathematics and Economics 44 (2), 182-198.

Examples

1
2
3
4
5
6
7
# a C-vine of independent copulas
vine <- vineCopula(4L, "CVine")

library(copula)
library(lattice)

cloud(V1 ~ V2 + V3, as.data.frame(rCopula(500, vine)))

VC2copula documentation built on Jan. 11, 2022, 1:07 a.m.