add_bold: Make a string bold in a certain format

View source: R/tables.R

add_boldR Documentation

Make a string bold in a certain format

Description

For example, in latex it would take "2" and output "\bf 2"; in html it would output "<b>2</b>".

Usage

add_bold(str, output_type)

Arguments

str

string or strings (character) to make bold

output_type

output type (see knitr::kable's format)


simulator documentation built on Feb. 16, 2023, 9:34 p.m.