spear: Spearman's test

Description Usage Arguments Value Author(s) Examples

Description

Spearman test function used by the function spearman.test

Usage

1
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

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

MEDITS documentation built on Dec. 23, 2019, 1:06 a.m.