Learn R Programming

cylcop (version 0.2.0)

cyl_rot_combine: 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)

Value

An R object of class 'cyl_rot_combine'.

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.

References

Nelsen2006cylcop

Hodelapplcylcop

Hodelmethodcylcop

Examples

Run this code
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)
}

Run the code above in your browser using DataLab