cor2.test {DiffCorr}R 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)

[Package DiffCorr version 0.4.3 Index]