format_pval2 | R Documentation |
Easy wrapper around format.pval to make readability of p-values better. It converts only p-values below 0.00
format_pval2(p, threshold = 0.001, scientific = TRUE)
p |
A |
threshold |
A |
scientific |
A |
A character
vector with transformed p-values
pvalues <- c(runif(5, 0, 0.001), runif(5, 0, 0.3), runif(5, 0, 1))
format.pval2(pvalues)
format.pval2(pvalues, threshold = 0.05)
format.pval2(pvalues, threshold = 0.05, scientific = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.