critical_r: critical_r

Description Usage Arguments Value Examples

View source: R/critical.r

Description

Calculates critical value of Pearson correlation coefficient for a selected alpha.

Usage

1
critical_r(n, alpha = 0.05)

Arguments

n

number of observations

alpha

significance level

Value

calculated critical value of Pearson correlation coefficient

Examples

1
2
threshold_1 <- critical_r(n = 55, alpha = 0.01)
threshold_2 <- critical_r(n = 55, alpha = 0.05)

dendroTools documentation built on Jan. 3, 2022, 5:09 p.m.