powered by
Quotes a token. Escapes single-quotes and wraps in single-quotes. Also maps 'varepsilon' to 'epsilon', since plotmath has only the latter; likewise 'varrho' maps to 'rho' and 'varpi' maps to 'omega1'.
plotmathToken( x, conditional = getOption("plotmath_conditional_quote", TRUE), unescape = getOption("plotmath_unescape", TRUE), ... )
(length-one) character
if true, return good tokens (parseable) unmodified
whether to escape (unrecognized) backslash
ignored arguments
character
Other plotmath: as_plotmath.spork(), as_plotmath(), goodToken(), spork_to_plotmath()
as_plotmath.spork()
as_plotmath()
goodToken()
spork_to_plotmath()
# NOT RUN { plotmathToken("can't") # }
Run the code above in your browser using DataLab