calc_power: calculate power

View source: R/calc_power.R

calc_powerR Documentation

calculate power

Description

calculate power

Usage

calc_power(n, p1, p2, shift, sel, CI, alpha = 0.05, nsim = 100)

Arguments

n

number of something

p1

pr(event) in subgroup 1

p2

pr(event) in subgroup 2

shift

scaled distance between means

sel

column to select

CI

generate a CI (?)

alpha

default significance level (0.05)

nsim

number of simulations (100)


VanAndelInstitute/bifurcatoR documentation built on Oct. 13, 2024, 6:29 p.m.