powered by
This function provides a Monte Carlo approximation to Kendall's tau measure of association.
kendalltau(x, y, nmc = 1e+05)
A Monte Carlo approximation to Kendall's tau measure of association.
a vector.
an integer number of Monte Carlo simulations.
Peter Hoff.
mu <- rexp(30) tensr:::kendalltau(rpois(30, mu), rpois(30, mu))
Run the code above in your browser using DataLab