Both of these are available in DescTools: https://rdrr.io/cran/DescTools/man/KendallTauA.html https://search.r-project.org/CRAN/refmans/DescTools/html/StuartTauC.html Stuart, A. (1977). Spearman-like computation of Kendall’s tau. British Journal of Mathematical and Statistical Psychology, 30(1), 104–112. https://doi.org/10.1111/j.2044-8317.1977.tb00729.x