Learn R Programming

cylcop

The goal of cylcop is to provide methods to apply circular-linear copulas to capture correlation in discrete time movement data, i.e. step lengths and turn angles.

Installation

You can install the released version of cylcop from CRAN with:

install.packages("cylcop")

And the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("floo66/cylcop")

Introduction and Further Explanations

A thorough introduction to the package and its features can be found in (Hodel and Fieberg 2021a) and (Hodel and Fieberg 2021b)

Hodel, Florian H., and John R. Fieberg. 2021a. “Circular-Linear Copulae for Animal Movement Data.” bioRxiv. https://doi.org/10.1101/2021.07.14.452404.

———. 2021b. “Cylcop: An r Package for Circular-Linear Copulae with Angular Symmetry.” bioRxiv. https://doi.org/10.1101/2021.07.14.452253.

Copy Link

Version

Install

install.packages('cylcop')

Monthly Downloads

482

Version

0.2.1

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Florian Hodel

Last Published

October 1st, 2025

Functions in cylcop (0.2.1)

cyl_cubsec-class

An S4 Class of Bivariate Copulas with Cubic Sections
cyl_vonmises

Construction of 'cyl_vonmises' Objects
cyl_rect_combine-class

An S4 Class of Circular-Linear Copulas Generated from a Rectangular Patchwork
cyl_quadsec

Construction of 'cyl_quadsec' Objects
half2full_circ

Convert Angle from Half Circle to Full Circle
cylcop_get_option

Get Package Options
cylcop-package

cylcop: Circular-Linear Copulas with Angular Symmetry for Movement Data
full2half_circ

Convert Angle from Full Circle to Half Circle
cyl_rot_combine-class

An S4 Class of Circular-Linear Copulas generated from Linear Combinations of Copulas
cyl_rect_combine

Construction of 'cyl_rect_combine' Objects
gammamix

Density, Distribution, Quantiles and Random Number Generation for the mixed gamma distribution
dens

Density, Distribution, Random Number Generation and Quantiles of Kernel Density Estimates
cyl_rot_combine

Construction of 'cyl_rot_combine' Objects
cyl_vonmises-class

An S4 Class of Bivariate von Mises Copulas
plot_joint_box

Circular Boxplot of Turn Angles and Step Lengths
cylcop_set_option

Set Package Options
opt_lin_bw

Find the Optimal Bandwidth for a Linear Kernel Density Estimate
plot_cop_surf

Surface Plot or Heat Map of the Distribution or the Density of a Copula
plot,cyl_copula,missing-method

Plot 'cyl_copula' Objects
show,cyl_copula-method

Print Information of 'cyl_copula' Objects
lnormmix

Density, Distribution, Quantiles and Random Number Generation for the mixed log-normal distribution
joint

Density, Distribution, Quantiles and Random Number Generation for joint distributions
mi_cyl

Estimate the Mutual Information Between a Circular and a Linear Random Variable
set_cop_param

Change Attributes of 'cyl_copula' Objects
numerical_conditional_cop

Numerically Calculate the Conditional Copula
numerical_inv_conditional_cop

Numerically calculate the inverse of the conditional copula
wrappedcauchy

Density, Distribution, Quantiles and Random Number Generation for the Wrapped Cauchy Distribution
weibullmix

Density, Distribution, Quantiles and Random Number Generation for the mixed Weibull distribution
prob,cyl_copula-method

Calculate the C-Volume of a 'cyl_copula' Copula
fit_angle

Fit a Circular Univariate Distribution
opt_auto

Automatically Find the Best Fitting Copula
fit_cylcop_cor

Estimate Copula Parameters from Correlation Measures
opt_circ_bw

Find the Optimal Bandwidth for a Circular Kernel Density Estimate
fit_cylcop_ml

Estimate Parameters of a Circular-Linear Copula According to Maximum Likelihood
mle.vonmisesmix

Mixed von Mises Maximum Likelihood Estimates
fit_steplength

Fit a Linear Univariate Distribution
plot_joint_scat

Scatterplot of Turn Angles and Step Lengths
plot_joint_circ

Circular Scatterplot of Turn Angles and Step Lengths
plot_circ_hist

Circular Histogram of Turn Angles
vonmisesmix

Density, Distribution, Quantiles and Random Number Generation for the mixed von Mises Distribution
wasserstein

Calculate the Wasserstein Distance
plot_cop_scat

Scatterplot of Copula Values
traj_get

Get a Trajectory from Coordinates
traj_sim

Generate a Trajectory with Correlated Step Lengths and Turn Angles
normmix

Density, Distribution, Quantiles and Random Number Generation for the mixed normal distribution
plot_track

Plot a Trajectory in Euclidean Space
cramer_vonmises

Cramér-von-Mises criterion
cyl_cubsec

Construction of 'cyl_cubsec' Objects
bearing

Compass Bearing of a Line Between 2 Points
ccylcop

Conditional Distributions of Circular-Linear Copulas
cor_cyl

Estimate a Rank-Based Circular-Linear Correlation Coefficient
cyl_quadsec-class

An S4 Class of Bivariate Copulas with Quadratic Sections
Cylcop

Distribution, Density, and Random Number Generation for Circular-Linear Copulas'
cyl_copula-class

An S4 Class of Bivariate Copulas on the Cylinder
angstep2xy

Calculate the Next Position in a Trajectory from a Turn Angle and a Step Length
cylcop-deprecated

Deprecated functions