r.crit: Compute critical r or p.

Description Usage Arguments Value Author(s) Examples

Description

Compute the critical r value, or return the p value of an r, assuming a given number of degrees of freedom.

Usage

1
r.crit(n, r = NULL, p = 0.025, two.tailed = T)

Arguments

n

The sample size.

r

The observed r value

p

the probability. Defaults to .025.

two.tailed

Should the probability be cut in half?

Value

the critical r value or the observed p value for a given r

Author(s)

Dustin Fife

Examples

1
2
r.crit(n=100, p=.025)
r.crit(n=20, r=.6, p=.05)

vagnerfonseca/fifer documentation built on May 3, 2019, 4:06 p.m.