Description Usage Arguments Value Examples
View source: R/numberFormatters.R
a wrapper for kableExtra::cell_spec() around format_p_md
1 | format_p_ke(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") |
... |
parameters for kableExtra::cell_spec(). e.g. bold = TRUE |
character atom
1 | format_p_ke(p = 0.1234, sci = TRUE, digits = 3, sci_thres = 1e-3, bold = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.