Learn R Programming

isocir (version 2.0-7.1)

cirKendall: Circular Kendall's Tau

Description

This function obtains the circular Kendall's tau between two sets of data.

Usage

cirKendall(phi1, phi2, test = FALSE, control.test = c("noteq", "upper", "lower"))

Value

It returns the value of the circular Kendall's tau. If test=TRUE, it returns also the pvalue of the test.

Arguments

phi1

a numeric vector of data to be processed. See details.

phi2

a numeric vector of data.

test

logical, by default FALSE.

control.test

"noteq", "upper" or "lower".

Author

Author(s): Sandra Barragán. Maintainer: <sandra.barragan@gmail.com>

Details

This function obtains the circular Kendall's tau between two data set.

References

Fisher,N.I. (1993).Statistical analysis of circular data. Cambridge University Press.

See Also

sce, cond.test, mrl, isocir, plot.isocir.

Examples

Run this code

data(cirgenes)
cirKendall(cirgenes[1,],cirgenes[2,])
# Even with missing values:
cirKendall(cirgenes[1,],cirgenes[8,])

Run the code above in your browser using DataLab