ggplot.plotmath | R Documentation |
Render plotmath in a ggplot.
## S3 method for class 'plotmath'
ggplot(data, mapping = aes(), ..., environment = parent.frame(), blank = TRUE)
data |
length-one plotmath; see |
mapping |
ignored |
... |
ignored arguments |
environment |
ignored |
blank |
whether to use a blank plot area |
gg
Other preview:
as.png.plotmath()
,
as.png.spork()
,
as_preview()
,
as_preview.html()
,
as_preview.latex()
,
as_preview.plotmath()
,
as_previews()
,
as_previews.default()
,
as_previews.spork()
,
ggplot.spork()
Other ggplot:
ggplot.spork()
Other plotmath:
[.plotmath()
,
[[.plotmath()
,
as.expression.plotmath()
,
as.png.plotmath()
,
as_plotmath()
,
as_plotmath.greek()
,
as_plotmath.spar()
,
as_plotmath.spork()
,
concatenate.plotmath()
,
goodToken()
,
plotmathToken()
library(magrittr)
'one joule (Omega) ~ 1 kg*m^2./s^2' %>% as_spork %>% as_plotmath %>% ggplot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.