vars.rvine: Extract Variables from a Regular Vine

Description Usage Arguments Value Examples

View source: R/vars.rvine.R

Description

Extract variables from a regular vine, possibly truncated, in the order of the vine array.

Usage

1
2
## S3 method for class 'rvine'
vars(rv)

Arguments

rv

A regular vine object.

Value

Vector of vine variables.

Examples

1
2
3
4
5
6
rv <- rvine(AtoG(CopulaModel::Dvinearray(5)))
rv <- relabel(rv, c(5, 2, 4, 3, 1))
vars(rv)

rv <- trunc(rv, 2)
vars(rv)

vincenzocoia/copsupp documentation built on Aug. 23, 2020, 7:37 a.m.