bonf: bonf: Wrapper for Bonferroni

Description Usage Arguments Value Examples

View source: R/simple_methods.R

Description

bonf: Wrapper for Bonferroni

Usage

1
bonf(unadj_p, alpha)

Arguments

unadj_p

Numeric vector of unadjusted p-values.

alpha

Significance level at which to apply method

Value

Bonferroni multiple testing object

Examples

1
2
3
     sim_df <- du_ttest_sim(20000,0.95, 1.5)
     obj <- bonf(sim_df$pvalue, .1)
     sum(rejected_hypotheses(obj))

nignatiadis/IHWpaper documentation built on Jan. 18, 2021, 2:24 p.m.