Learn R Programming

huxtable (version 4.0.1)

sanitize: Sanitize table elements

Description

This is copied over from xtable::sanitize().

Usage

sanitize(str, type = "latex")

Arguments

str

A character object.

type

"latex" or "html".

Value

The sanitized character object.

Examples

Run this code
# NOT RUN {
foo <- 'Make $$$ with us'
sanitize(foo, type = 'latex')
# }

Run the code above in your browser using DataLab