sanitize {isobar} | R Documentation

## Helper function for LaTeX export

### Description

Sanitizes strings for LaTeX

### Usage

        sanitize(str, dash = TRUE)

### Arguments

`str` | character string to be escaped
`dash` | shoud a dash ('-') should be escaped to a '\nobreakdash-'?

### Value

escaped character

### Author(s)

iQuantitator,Florian P Breitwieser

### Examples

        sanitize("\textbf{123-123}")

[Package isobar version 1.28.1 Index]