cor2.test: Correlation Test

View source: R/DiffCorr.R

cor2.testR Documentation

Correlation Test

Description

Correlation Test

Usage

cor2.test(n, r, method = c("pearson", "kendall", "spearman"))

Arguments

n

the number of samples

r

the correlation coefficient

method

"pearson" and "spearman" can be used.

Value

p-value

Author(s)

Atsushi Fukushima

References

http://aoki2.si.gunma-u.ac.jp/R/cor2.html

Examples

cor2.test(30, 0.6)

DiffCorr documentation built on Aug. 25, 2023, 5:16 p.m.