r_prec: Compute Precision Analyses for Correlations This approach...

Description Usage Arguments Value Examples

View source: R/r_prec.R

Description

Compute Precision Analyses for Correlations This approach simply loops a function from MBESS

Usage

1
r_prec(r, nlow, nhigh, ci = 0.95, by = 1)

Arguments

r

Correlation

nlow

starting sample size

nhigh

ending sample size

ci

Type of Confidence Interval (e.g., .95)

by

Incremental increase in sample (e.g. nlow = 10, nhigh = 24, by = 2, produces estimates of 10, 12, and 14)

Value

Precision Analyses for Correlations

Examples

1
r_prec(r=.3, nlow=80, nhigh=400, by=20, ci=.95)

chrisaberson/pwr2ppl documentation built on Dec. 2, 2019, 7:08 a.m.