Description Usage Arguments Value
View source: R/myformat_pvalue.R
This function ensures that all the p-values are formatted with the right number of characters. Below the 'digits' threshold, they are presented in scientific notation, otherwise they are rounded to 'digits'
1 | myformat_pvalue(x, digits = 3)
|
x |
A vector of p-values |
digits |
Number of digits to present in the output |
A character vector of formatted p-values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.