Replace symbols in a character string or vector by LaTeX equivalents-
names2latex(x)
Same as the input object but with escaped or replaced symbols.
A character
object of arbitrary length.
Philip Leifeld
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.
texreg