latex.perc: Escape all instances of the percent symbol properly for latex

View source: R/latex.R

latex.percR Documentation

Escape all instances of the percent symbol properly for latex

Description

Escape all instances of the percent symbol properly for latex

Usage

latex.perc(vec, translate = FALSE)

Arguments

vec

Character vector

translate

Logical. Translate to French? Default is FALSE

Value

The input vector with all instances of the percent symbol escaped properly for latex

Examples

latex.perc(c("2.5%", "50%", "97.5%"))

pbs-assess/gfutilities documentation built on Sept. 18, 2023, 7:57 a.m.