Description Usage Arguments Value Note Examples
View source: R/cleanup_helpers.R
Easy p-value formatting
1 | pval_string(pv)
|
pv |
A p-value in numeric form. |
A formatted character
representation of the input value.
Simplified version of pixiedust::pvalString
which considers < 0.05
.
1 2 3 | pv <- c(.9, .2, .049, .009, .000003)
names(pv) <- pval_string(pv)
pv
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.