View source: R/helper_test_MGD.R
adjustAlpha | R Documentation |
Adjust a given significance level .alpha
to accommodate multiple testing.
The following corrections are implemented:
none
(Default) No correction is done.
bonferroni
A Bonferroni correction is done, i.e., alpha is divided by the
number of comparisons .nr_comparisons
.
adjustAlpha( .alpha = args_default()$.alpha, .approach_alpha_adjust = args_default()$.approach_alpha_adjust, .nr_comparisons = args_default()$.nr_comparisons )
.alpha |
An integer or a numeric vector of significance levels.
Defaults to |
.approach_alpha_adjust |
Character string. Approach used to adjust the significance level to accommodate multiple testing. One of "none" or "bonferroni". Defaults to "none". |
.nr_comparisons |
Integer. The number of comparisons. Defaults to |
A vector of (possibly adjusted) significance levels.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.