bonferroni.test {gMCP} | R Documentation |
Weighted Bonferroni-test
Description
Weighted Bonferroni-test
Usage
bonferroni.test(
pvalues,
weights,
alpha = 0.05,
adjPValues = TRUE,
verbose = FALSE,
...
)
Arguments
pvalues |
A numeric vector specifying the p-values. |
weights |
A numeric vector of weights. |
alpha |
A numeric specifying the maximal allowed type one error rate. If |
adjPValues |
Logical scalar. If |
verbose |
Logical scalar. If |
... |
Further arguments possibly passed by |
Examples
bonferroni.test(pvalues=c(0.1,0.2,0.05), weights=c(0.5,0.5,0))
bonferroni.test(pvalues=c(0.1,0.2,0.05), weights=c(0.5,0.5,0), adjPValues=FALSE)
[Package gMCP version 0.8-17 Index]