Sidak.p.adjust {MHTdiscrete} | R Documentation |
The function for calculating the adjusted p-values based on original available p-values.
Sidak.p.adjust(p, alpha, make.decision)
p |
numeric vector of p-values (possibly with |
alpha |
significant level used to compare with adjusted p-values to make decisions, the default value is 0.05. |
make.decision |
logical; if |
A numeric vector of the adjusted p-values (of the same length as p
) if make.decision = FALSE
, or a list including original p-values, adjusted p-values and decision rules if make.decision = TRUE
.
Yalin Zhu
p <- c(pbinom(1,8,0.5),pbinom(1,5,0.75),pbinom(1,6,0.6))
Sidak.p.adjust(p)