Learn R Programming

MEDITS (version 0.1.7)

spear: 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.

Examples

Run this code
# NOT RUN {
library(MEDITS)
x <- c(126.12,115.46,164.32,79.85,68.43,72.94, 54.23)
spear(x)
# }

Run the code above in your browser using DataLab