tauTest: quick Kendall's tau

Description Usage Arguments Value

View source: R/RcppExports.R

Description

This is a better-scaling implementation of Kendall's tau than is used by cor.test.

Usage

1
  tauTest(arr1, arr2, length)

Arguments

arr1

numeric vector

arr2

numeric vector

length

length of arr1 or arr1, (both must be the same length).

Value

Returns a list with the following components:

tau-a

Kendall's tau-a, which includes tied pairs of all types in the denominator.

tau-b

Kendall's tau-b, which does not penalize for ties.

n.pairs

Number of paired comparisons.

n.ties.1

Number of ties in arr1.

n.ties.2

Number of ties in arr2.

n.ties.both

Number of ties for both arr1 and arr2.

n.dis

Total disconcordances for all paired comparisons.

n.con

Total concordances for all paired comparisons.


jchrszcz/gemmR documentation built on May 18, 2019, 10:24 p.m.