BHS: Multiplicity adjustment by Bonferroni-Holm-Shaffer's rule

Description Usage Arguments Value Author(s) References See Also Examples

Description

Multiplicity adjustment by Bonferroni-Holm-Shaffer's rule

Usage

1
  BHS(pValues)

Arguments

pValues

numeric vector of p-vaules

Value

numeric vector of corrected p-vaules

Author(s)

Federico Mattiello <federico.mattiello@gmail.com>

References

Shaffer J.P. (1986) Modified Sequentially Rejective Multiple Test Procedures, Journal of the American Statistical Association, 81, 826–831.

See Also

p.adjust, p.adjust.methods

Examples

1
2
3
set.seed(123)
p.raw <- runif(10, max = 0.2)
rbind(p.raw, p.adj = SOUP::BHS(p.raw))

SOUP documentation built on May 2, 2019, 8:18 a.m.

Related to BHS in SOUP...