spearR Documentation

Spearman's test

Description

Spearman test function used by the function spearman.test

Usage

spear(x)

Arguments

x

indices time series

Value

statistics of the Spearman's test.

r

Spearman's correlation coefficient.

p

t statistics.

p

the p-value for the test.

Author(s)

Walter Zupa

Examples

library(MEDITS)
x <- c(126.12,115.46,164.32,79.85,68.43,72.94, 54.23)
spear(x)