kendalltau: Kendall's tau measure of association.

Description Usage Arguments Value Author(s) Examples

View source: R/hoff_functions.R

Description

This function provides a Monte Carlo approximation to Kendall's tau measure of association.

Usage

1
kendalltau(x, y, nmc = 1e+05)

Arguments

x

a vector.

y

a vector.

nmc

an integer number of Monte Carlo simulations.

Value

A Monte Carlo approximation to Kendall's tau measure of association.

Author(s)

Peter Hoff.

Examples

1
2
mu <- rexp(30)
tensr:::kendalltau(rpois(30, mu), rpois(30, mu))

tensr documentation built on May 29, 2017, 9:44 a.m.