| plotmathToken | R Documentation |
Processes a plotmath 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", FALSE),
unescape = getOption("plotmath_unescape", TRUE),
...
)
x |
(length-one) character |
conditional |
if true, return good tokens (parseable) unmodified; see |
unescape |
whether to escape (unrecognized) backslash |
... |
ignored arguments |
plotmath
Other plotmath:
[.plotmath(),
[[.plotmath(),
as.expression.plotmath(),
as.png.plotmath(),
as_plotmath(),
as_plotmath.greek(),
as_plotmath.spar(),
as_plotmath.spork(),
concatenate.plotmath(),
ggplot.plotmath(),
goodToken()
Other interface:
as.expression.plotmath(),
as_html.spar(),
as_html.spork(),
as_latex.spar(),
as_latex.spork(),
as_plotmath.spar(),
as_plotmath.spork(),
as_previews.spork(),
as_spork.character(),
htmlToken(),
latexToken()
plotmathToken("can't")
plotmathToken("\\", unescape = TRUE)
plotmathToken("\\", unescape = FALSE)
plotmathToken("\n", conditional = TRUE)
plotmathToken("\n", conditional = FALSE)
plotmathToken('alpha')
plotmathToken('Alpha')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.