View source: R/multiple_testing.R
adjust_p_value | R Documentation |
This function takes an array of p-values and returns adjusted p-values using user-inputted FWER or FDR correction method
adjust_p_value(pvalues, method = "holm-bonferroni")
pvalues |
Array of p-values |
method |
The FWER or FDR correction to use, either 'holm-bonferroni', 'bonferroni', or 'benjamini-hochberg' |
Adjusted p-values
adjust_p_value(pvalues = c(.05, .1, .5), method='holm-bonferroni')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.