r2n_crit: Calculate the number of measurements for which a Pearson's r...

Description Usage Arguments Value Examples

View source: R/power.R

Description

There's almost definitely a better way of doing this.

Usage

1
r2n_crit(r, sig.level = 0.05, alternative = "two.sided")

Arguments

r

Pearson's r: correlation coefficient

sig.level

Significance level. Optional: default is 0.05.

alternative

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

Value

The number of measurements for which a Pearson's r is significant

Examples

1
r2n_crit(0.5)

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