R2_prec: Compute Precision Analyses for R-Squared This approach simply...

Description Usage Arguments Value Examples

View source: R/R2_prec.R

Description

Compute Precision Analyses for R-Squared This approach simply loops a function from MBESS

Usage

1
R2_prec(R2, nlow, nhigh, pred, ci = 0.95, by = 1)

Arguments

R2

R-squared

nlow

starting sample size

nhigh

ending sample size

pred

Number of Predictors

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 R-Squared

Examples

1
R2_prec(R2=.467, nlow=24, nhigh=100, pred=3, by=4)

pwr2ppl documentation built on April 4, 2021, 9:06 a.m.