Description Usage Arguments Details Value References See Also
View source: R/globalHelpers.R
Takes two vectors as input and returns summed product of the form \textrm{sign}(z_j - z_i) \* \textrm{sign}(t_j - t_i).
1 |
t |
A vector of ranks. |
z |
A vector of ranks. |
sgn(x) = \begincases 1, &\textrmif\; x > 0 \ 0, &\textrmif\; x = 0 \ -1, &\textrmif\; x < 0 \endcases
An Integer.
Kendall, M. G. (1975): Rank Correlation Methods. 4th Edition London, High Wycombe: Charles Griffin & Company Ltd.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.