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

View source: R/r_prec.R

r_precR Documentation

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

Description

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

Usage

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

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

pwr2ppl documentation built on Sept. 6, 2022, 5:06 p.m.