format_p_ke: format_p_ke

Description Usage Arguments Value Examples

Description

a wrapper for kableExtra::cell_spec() around format_p_md

Usage

1
2
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]

...

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/phdFunctions documentation built on May 25, 2019, 10:34 p.m.