R: Correlation of Kendall

kendall {agricolae} | R Documentation

## Correlation of Kendall

### Description

Correlation of Kendall two set. Compute exact p-value with ties.

### Usage

    kendall(data1, data2)

### Arguments

`data1` | vector
`data2` | vector

### Value

The correlation of data1, data2 vector with the statistical value and its probability

### Author(s)

Felipe de Mendiburu

### References

Numerical Recipes in C. Second Edition. Pag 634

### See Also

`correlation`

### Examples

    library(agricolae)
    x <-c(1,1,1,4,2,2,3,1,3,2,1,1,2,3,2,1,1,2,1,2)
    y <-c(1,1,2,3,4,4,2,1,2,3,1,1,3,4,2,1,1,3,1,2)
    kendall(x,y)

[Package agricolae version 1.2-8 Index]