Description Usage Arguments Details Value Examples
View source: R/numberFormatters.R
format_p_md
1 | format_p_md(p, sci = TRUE, digits = 3, sci_thres = 0.001, format = "html")
|
p |
numeric atom |
sci |
use scientific x10 format |
digits |
number of decimal places to display |
sci_thres |
threshold below which to apply scientific format [0,1] |
format |
language used to do formatting ("html" or "latex") |
if format = "latex', use knitr::kable( format = 'latex', escape = FALSE)
character atom
1 | format_p_md(p= 0.1234, sci = TRUE, digits = 3, sci_thres = 1e-3, format = 'html')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.