Spearman: Spearman's Rank Correlation

View source: R/Correlations.R

SpearmanR Documentation

Spearman's Rank Correlation

Description

Calculates Sperman's rank correlations. The function is a wrapper to cor().

Usage

Spearman(data, ...)

Arguments

data

matrix or data.frame

...

ellipsis, arguments are passed down to cor()

Value

matrix

See Also

cor, Kendall

Examples

S <- equicorr(d = 3, rho = 0.5)
data <- rmnorm(1000, Sigma = S) 
Spearman(data) 

QRM documentation built on April 12, 2025, 1:15 a.m.