View source: R/hoff_functions.R
kendalltau | R Documentation |
This function provides a Monte Carlo approximation to Kendall's tau measure of association.
kendalltau(x, y, nmc = 1e+05)
x |
a vector. |
y |
a vector. |
nmc |
an integer number of Monte Carlo simulations. |
A Monte Carlo approximation to Kendall's tau measure of association.
Peter Hoff.
mu <- rexp(30) tensr:::kendalltau(rpois(30, mu), rpois(30, mu))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.