adjustAlpha

0th

Percentile

Internal: Multiple testing correction

Adjust a given significance level .alpha to accomodate 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.

Keywords
internal
Usage
adjustAlpha(
 .alpha                 = args_default()$.alpha,
 .approach_alpha_adjust = args_default()$.approach_alpha_adjust,
 .nr_comparisons        = args_default()$.nr_comparisons
)
Arguments
.alpha

An integer or a numeric vector of significance levels. Defaults to 0.05.

.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 NULL.

Value

A vector of (possibly adjusted) significance levels.

Aliases
  • adjustAlpha
Documentation reproduced from package cSEM, version 0.1.0, License: GPL-3

Community examples

Looks like there are no examples yet.