Skip to content

kendallknight

1.0.1Package record

Efficient Implementation of Kendall's Correlation Coefficient Computation

0packages depend
4.8Kdownloads / year
79.8%test coverage
13/13flavors OK

Overview

About

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.

Changes in 1.0.1
  • Using 'cpp4r' instead of 'cpp11' for a slight speed improvement.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.1 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.0.1
READMEYes · 211 wordsVignettesNoNEWSYes · 100% structured · mentions 1.0.1Citation fileYes · cites a publicationWebsiteYes
Help pages
3includes a package overview page
Examples that run
100%2 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
67%

Downloads

4.8K
CRAN downloads in the past year
Rank #13,620 · ~13/day · ~401/mo
Daily download trend is not available in this view yet.
31030 days
85390 days
4.8K1 year
Compare downloads with other packages →
Also on370 r2u1 autocran

Repository

4Stars
0Forks
0Open issues
0Open PRs
0Releases
6Commits
1Commit identities
License file reads as Apache-2.0 · 6 commits · Last activity 2025-12-10
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
16
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-06-08 · 42026-07-07 · 4
PracticesBeta

12 development-tooling and community-health practices detected across 7 families in the upstream repository

Checks run against github.com/pachadotdev/kendallknight on 2026-10-21.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows

Governance and community (3)
Code of conductContributing guide

The repository owner accepts GitHub Sponsors

Docs source (2)
README.Rmd

GitHub Pages site last deployed 2025-12-10

Coverage (1)
Coverage reporting
Show all practicesHide 3 practices
Reproducibility and dev environment (1)
Makefile
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)

Installing kendallknight adds 1 package (0 with compiled code, 203 KB of source tarballs). Heaviest: cpp4r 203 KB.

Depends (1)
R >= 3.5.0
Imports (1)
stats
LinkingTo (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (3)
Author, Maintainer since 0.4.0 (2024)
Contributor
original stirlerr implementations in C (2000)
Contributor
original chebyshev_eval, gammafn and lgammacor implementations in C (1998)
Listed in earlier versions (1)
Statistics Canada
no longer listed · 0.7.0
Releases (6)

Pick two releases to compare their code metrics.

Package metadata

First published
2024-11-21
Total releases
6 / 2 yrs
License
Apache License (>= 2)
Minimum R
≥ 3.5.0
Download size
25 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("kendallknight")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.1371/journal.pone.0326090.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for kendallknight version 1.0.1 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy