Learn R Programming

extracat (version 1.6-3)

kendalls: Kendalls Tau for a matrix

Description

Computes Kendalls Tau for a two-way table or matrix.

Usage

kendalls(x)

Arguments

x
A two-way table or matrix.

Value

  • numeric between -1 and +1.

Details

Kendalls tau is a rank-correlation coefficient.

Examples

Run this code
M <- arsim(300,c(8,8),3)
kendalls(M)
kendalls(optile(M))

Run the code above in your browser using DataLab