Description Usage Arguments Examples
Format p-value
1 | format_pval(pvals, sig.limit = 0.001, digits = 3)
|
pvals |
A numeric value or vector of p-values |
sig.limit |
Lower bound for precision; smaller values will be shown as < sig.limit |
digits |
Number of digits past the decimal point to keep |
1 2 | pv <- c(-1, 0.00001, 0.0042, 0.0601, 0.1335, 0.4999, 0.51, 0.89, 0.9, 1)
format_pval(pv)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.