Convenience dispatcher for p-value adjustment methods
Source:R/multiple_testing.R
adjust_p_values.RdFront-end over stats::p.adjust and the rmorie wrappers
above. Preserves the rmorie API used by
stat_commands.
Arguments
- p_values
Numeric vector of raw p-values.
- method
One of
"bonferroni","sidak","holm","hochberg","hommel","holm_sidak","bh"/"benjamini_hochberg"/"fdr","by"/"benjamini_yekutieli","storey", or"fwer"(alias of holm).- alpha
Significance level.
- labels
Optional character vector of test labels.