cyl_rot_combine: Construction of "cyl_rot_combine" Objects

View source: R/cyl_rot_combine.R

cyl_rot_combineR Documentation

Construction of 'cyl_rot_combine' Objects

Description

Constructs a circular-linear copula of class 'cyl_rot_combine' from linear combinations of copulas.

Usage

cyl_rot_combine(copula, shift = FALSE)

Arguments

copula

linear-linear 2-dimensional 'Copula' object of the package 'copula'.

shift

logical value indicating whether the (u-periodic) copula should be shifted by 0.5 in u direction.

Value

An R object of class 'cyl_rot_combine'.

References

\insertRef

Nelsen2006cylcop

\insertRef

Hodelapplcylcop

\insertRef

Hodelmethodcylcop

Examples

cop <- cyl_rot_combine(copula = copula::frankCopula(param = 3), shift = TRUE)
if(interactive()){
 plot_cop_surf(copula = cop, type = "pdf", plot_type = "ggplot", resolution = 20)
}

cop <- cyl_rot_combine(copula = copula::claytonCopula(param = 10), shift = FALSE)
if(interactive()){
 plot_cop_surf(copula = cop, type = "pdf", plot_type = "ggplot", resolution = 20)
}


cylcop documentation built on Oct. 30, 2022, 1:05 a.m.