Package: kendallknight 1.0.1

Mauricio Vargas Sepulveda

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 (2025) <doi:10.1371/journal.pone.0326090>.

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

kendallknight_1.0.1.tar.gz
kendallknight_1.0.1.zip(r-4.7-x86_64)kendallknight_1.0.1.zip(r-4.7-arm64)kendallknight_1.0.1.zip(r-4.6-x86_64)kendallknight_1.0.1.zip(r-4.6-arm64)
kendallknight_1.0.1.tar.gz(r-4.7-arm64)kendallknight_1.0.1.tar.gz(r-4.7-x86_64)kendallknight_1.0.1.tar.gz(r-4.6-arm64)kendallknight_1.0.1.tar.gz(r-4.6-x86_64)
kendallknight_1.0.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
kendallknight/json (API)

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

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

Uses libs:
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library

On CRAN:

Conda:

cppopenmp

1.70 score 5 scripts 369 downloads 2 exports 1 dependencies

Last updated from:cb99b96ed9. Checks:10 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK81
linux-devel-x86_64OK137
source / vignettesOK193
linux-release-arm64OK93
linux-release-x86_64OK107
windows-devel-arm64OK183
windows-devel-x86_64OK107
windows-release-arm64OK184
windows-release-x86_64OK97
wasm-releaseOK100

Exports:kendall_corkendall_cor_test

Dependencies:cpp4r