Package: kendallknight 0.5.0

kendallknight: Efficient Implementation of Kendall's Correlation Coefficient Computation

The computational complexity of the implemented algorithm for Kendall's correlation is O(n log(n)), which is faster than the base R implementation with a computational complexity of O(n^2). For small vectors (i.e., less than 100 observations), the time difference is negligible. However, for larger vectors, the speed difference can be substantial and the numerical difference is minimal. The references are Knight (1966) <doi:10.2307/2282833>, Abrevaya (1999) <doi:10.1016/S0165-1765(98)00255-9>, Christensen (2005) <doi:10.1007/BF02736122> and Emara (2024) <https://learningcpp.org/>. This implementation is described in Vargas Sepulveda (2024) <doi:10.48550/arXiv.2408.09618>.

Authors:Mauricio Vargas Sepulveda [aut, cre], Loader Catherine [ctb], Ross Ihaka [ctb]

kendallknight_0.5.0.tar.gz
kendallknight_0.5.0.zip(r-4.5)kendallknight_0.5.0.zip(r-4.4)kendallknight_0.5.0.zip(r-4.3)
kendallknight_0.5.0.tgz(r-4.4-x86_64)kendallknight_0.5.0.tgz(r-4.4-arm64)kendallknight_0.5.0.tgz(r-4.3-x86_64)kendallknight_0.5.0.tgz(r-4.3-arm64)
kendallknight_0.5.0.tar.gz(r-4.5-noble)kendallknight_0.5.0.tar.gz(r-4.4-noble)
kendallknight_0.5.0.tgz(r-4.4-emscripten)kendallknight_0.5.0.tgz(r-4.3-emscripten)
kendallknight.pdf |kendallknight.html
kendallknight/json (API)
NEWS

# Install 'kendallknight' in R:
install.packages('kendallknight', repos = c('https://pachadotdev.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/pachadotdev/capybara/issues

Pkgdown site:https://pacha.dev

Uses libs:
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library
Datasets:
  • cigarettes - Life expectancy and cigarettes per day

On CRAN:

cppopenmp

3.00 score 4 scripts 182 downloads 2 exports 1 dependencies

Last updated 5 days agofrom:175bc9f996. Checks:9 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKJan 23 2025
R-4.5-win-x86_64OKJan 23 2025
R-4.5-linux-x86_64OKJan 23 2025
R-4.4-win-x86_64OKJan 23 2025
R-4.4-mac-x86_64OKJan 23 2025
R-4.4-mac-aarch64OKJan 23 2025
R-4.3-win-x86_64OKJan 23 2025
R-4.3-mac-x86_64OKJan 23 2025
R-4.3-mac-aarch64OKJan 23 2025

Exports:kendall_corkendall_cor_test

Dependencies:cpp11

Basic 'kendallknight' usage

Rendered fromusage.Rmdusingknitr::rmarkdownon Jan 23 2025.

Last update: 2025-01-23
Started: 2024-11-21