format_p_ke: format_p_ke

Description Usage Arguments Value Examples

View source: R/numberFormatters.R

Description

a wrapper for kableExtra::cell_spec() around format_p_md

Usage

1
format_p_ke(p, sci = TRUE, digits = 3, sci_thres = 0.001, format = "html", ...)

Arguments

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

Value

character atom

Examples

1
format_p_ke(p = 0.1234, sci = TRUE, digits = 3, sci_thres = 1e-3, bold = TRUE)

murraycadzow/bReakingbad documentation built on Oct. 15, 2021, 3:27 p.m.