Learn R Programming

texreg (version 1.39.4)

names2latex: Replace symbols in a character string or vector by LaTeX equivalents

Description

Replace symbols in a character string or vector by LaTeX equivalents-

Usage

names2latex(x)

Value

Same as the input object but with escaped or replaced symbols.

Arguments

x

A character object of arbitrary length.

Author

Philip Leifeld

Details

This function is an internal helper function that takes a character object or vector and replaces symbols like underscores, angle brackets, or superscripted numbers by properly escaped LaTeX equivalents in order not to break any LaTeX table code when the link{texreg} function is used.

See Also

texreg