Learn R Programming

SOUP (version 1.1)

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

Description

Multiplicity adjustment by Bonferroni-Holm-Shaffer's rule

Usage

BHS(pValues)

Arguments

pValues
numeric vector of p-vaules

Value

numeric vector of corrected p-vaules

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

Run this code
set.seed(123)
p.raw <- runif(10, max = 0.2)
rbind(p.raw, p.adj = SOUP::BHS(p.raw))

Run the code above in your browser using DataLab