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 June 11, 2025, 11:19 p.m.