sanitise_percent: Sanitise function for use with 'print.xtable'

View source: R/sanitise_percent.R

sanitise_percentR Documentation

Sanitise function for use with print.xtable

Description

Takes a string of text and sanitises only the use of "%" for use with latex

Usage

sanitise_percent(str)

Arguments

str

String of text

Examples

    str <- "\\multirow{2}{4cm}{75%}"
    sanitise_percent(str)


EstherHerbert/Useful.functions documentation built on Jan. 31, 2025, 10:41 a.m.