Description Usage Arguments Value Examples
View source: R/simple_methods.R
bh: Wrapper for Benjamini Hochberg
1  | bh(unadj_p, alpha)
 | 
unadj_p | 
 Numeric vector of unadjusted p-values.  | 
alpha | 
 Significance level at which to apply method  | 
BH multiple testing object
1 2 3  |      sim_df <- du_ttest_sim(20000,0.95, 1.5)
     obj <- bh(sim_df$pvalue, .1)
     sum(rejected_hypotheses(obj))
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.