r_crit: Calculate the critical value of Pearson's r

Description Usage Arguments Value Examples

View source: R/power.R

Description

Calculate the critical value of r for which a given sample size will yield a significant result

Usage

1
r_crit(n, sig.level = 0.05, alternative = "two.sided")

Arguments

n

Number of measurements-

sig.level

Significance level. Optional: default is 0.05

alternative

Alternative hypothesis. Optional: default is "two.sided"

Value

The critical r value

Examples

1
r_crit(50)

mathesong/relfeas documentation built on March 4, 2020, 5:29 a.m.