kendallknight-package | R Documentation |
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) \Sexpr[results=rd]{tools:::Rd_expr_doi("10.2307/2282833")}, Abrevaya (1999) \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1016/S0165-1765(98)00255-9")}, Christensen (2005) \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1007/BF02736122")} and Emara (2024) https://learningcpp.org/. This implementation is described in Vargas Sepulveda (2025) \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1371/journal.pone.0326090")}.
Maintainer: Mauricio Vargas Sepulveda m.sepulveda@mail.utoronto.ca (ORCID)
Other contributors:
Loader Catherine (original stirlerr implementations in C (2000)) [contributor]
Ross Ihaka (original chebyshev_eval, gammafn and lgammacor implementations in C (1998)) [contributor]
Useful links:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.