Spearman_crit: Spearman critical value

View source: R/Spearman_crit.R

Spearman_critR Documentation

Spearman critical value

Description

Calculates the critical value for Spearman's correlation coeficient.

Usage

Spearman_crit(n, conf.level = 0.95)

Arguments

n

Sample size of the correlated values

conf.level

Confidence level to use for the critical value (Default is 0.95, and see details section below)

Details

The result of this function can be used to estimate the statistical signficance of Spearman's correlation coeficient. The options for confidence level are 0.99, 0.95, or 0.90

Value

Spearman's critical value for a given sample size

References

Swan, A. R. H. & Sandilands, M. (1995). Introduction to Geological Data Analysis. Blackwell Science.

Examples

Spearman_crit(10)
Spearman_crit(10, conf.level = 0.9)


maxgav13/GMisc documentation built on June 12, 2022, 3:48 a.m.