Learn R Programming

simulator (version 0.2.5)

add_bold: 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)