escape_chars: Protect control characters in a string for use in a latex...

Description Usage Arguments Value Examples

View source: R/print_color_vctr.R

Description

escape takes a vector of chracter values, and puts "\" in front of them to make them allowable in the latex table output

Usage

1

Arguments

x

character vector of test containing values that need to be latex escaped

Value

character Vector of transformed values for table output

Examples

1
2
3
value_example <- c("testvalue", "test_value", "ampersand&")
escape_chars(value_example)
escape_chars("String_Entry %")

thebioengineer/colortable documentation built on Sept. 2, 2020, 10:35 a.m.