vec_power: Vectorized power estimates

View source: R/MiscFxns.R

vec_powerR Documentation

Vectorized power estimates

Description

This function allows you to use power.t.test, power.prop.test, etc in vectorized fashion and return a table of results

Usage

vec_power(fun = stats::power.t.test, ...)

Arguments

fun

What is the function to calculate power

...

other arguments to pass to power_fn, possibly vectorized

Value

tibble of results


popovs/OPPtools documentation built on July 8, 2023, 2:29 a.m.