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

292

Version

0.2.0

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Florian Hodel

Last Published

October 29th, 2022

Functions in cylcop (0.2.0)

cyl_rot_combine

Construction of 'cyl_rot_combine' Objects
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
cyl_quadsec

Construction of 'cyl_quadsec' Objects
cylcop-deprecated

Deprecated functions
cyl_vonmises

Construction of 'cyl_vonmises' Objects
cylcop_get_option

Get Package Options
cylcop-package

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

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

An S4 Class of Bivariate von Mises Copulas
cylcop_set_option

Set Package Options
full2half_circ

Convert Angle from Full Circle to Half Circle
dens

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

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

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

Convert Angle from Half Circle to Full Circle
fit_angle

Fit a Circular Univariate Distribution
fit_cylcop_cor

Estimate Copula Parameters from Correlation Measures
opt_lin_bw

Find the Optimal Bandwidth for a Linear Kernel Density Estimate
opt_auto

Automatically Find the Best Fitting Copula
opt_circ_bw

Find the Optimal Bandwidth for a Circular Kernel Density Estimate
mi_cyl

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

Numerically calculate the inverse of the conditional copula
numerical_conditional_cop

Numerically Calculate the Conditional Copula
lnormmix

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

Density, Distribution, Quantiles and Random Number Generation for the mixed normal distribution
mle.vonmisesmix

Mixed von Mises Maximum Likelihood Estimates
fit_steplength

Fit a Linear Univariate Distribution
fit_cylcop_ml

Estimate Parameters of a Circular-Linear Copula According to Maximum Likelihood
plot,cyl_copula,missing-method

Plot 'cyl_copula' Objects
plot_circ_hist

Circular Histogram of Turn Angles
show,cyl_copula-method

Print Information of 'cyl_copula' Objects
set_cop_param

Change Attributes of 'cyl_copula' Objects
plot_cop_scat

Scatterplot of Copula Values
plot_joint_circ

Circular Scatterplot of Turn Angles and Step Lengths
traj_sim

Generate a Trajectory with Correlated Step Lengths and Turn Angles
traj_get

Get a Trajectory from Coordinates
plot_joint_scat

Scatterplot of Turn Angles and Step Lengths
plot_joint_box

Circular Boxplot of Turn Angles and Step Lengths
vonmisesmix

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

Surface Plot or Heat Map of the Distribution or the Density of a Copula
wasserstein

Calculate the Wasserstein Distance
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
plot_track

Plot a Trajectory in Euclidean Space
wrappedcauchy

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

Construction of 'cyl_cubsec' Objects
cor_cyl

Estimate a Rank-Based Circular-Linear Correlation Coefficient
cramer_vonmises

Cramér-von-Mises criterion
bearing

Compass Bearing of a Line Between 2 Points
Cylcop

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

An S4 Class of Bivariate Copulas with Quadratic Sections
ccylcop

Conditional Distributions of Circular-Linear Copulas
angstep2xy

Calculate the Next Position in a Trajectory from a Turn Angle and a Step Length
cyl_cubsec-class

An S4 Class of Bivariate Copulas with Cubic Sections
cyl_copula-class

An S4 Class of Bivariate Copulas on the Cylinder