Description Usage Arguments Value Examples
View source: R/simple_methods.R
bonf: Wrapper for Bonferroni
1 | bonf(unadj_p, alpha)
|
unadj_p |
Numeric vector of unadjusted p-values. |
alpha |
Significance level at which to apply method |
Bonferroni multiple testing object
1 2 3 | sim_df <- du_ttest_sim(20000,0.95, 1.5)
obj <- bonf(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.