formatPval | R Documentation |
Format p-values
formatPval(x, pvdigits = 4)
x |
p-value to be formatted. |
pvdigits |
number of digits in the result. |
p-value rounded to pvdigits decimal digits, or an expression like "<0.0001" when x<1e-pvdigits.
formatPval(0.0000001,pvdigits=3)
formatPval(0.345251,pvdigits=4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.