corr: Compute power for Pearson's Correlation Takes correlation and...

View source: R/corr.R

corrR Documentation

Compute power for Pearson's Correlation Takes correlation and range of values

Description

Compute power for Pearson's Correlation Takes correlation and range of values

Usage

corr(r, nlow, nhigh, alpha = 0.05, tails = 2, by = 1)

Arguments

r

Correlation

nlow

Starting sample size

nhigh

Ending sample size

alpha

Type I error (default is .05)

tails

one or two-tailed tests (default is 2)

by

Incremental increase in sample size from low to high

Value

Power for Pearson's Correlation

Examples

corr(r=.30, nlow=60, nhigh=100,by=2)

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