as_preview | R Documentation |
Creates a preview.
Generic, with methods as_preview.latex
and
as_preview.plotmath
.
as_preview(x, ...)
x |
object |
... |
passed arguments |
see methods
Other preview:
as.png.plotmath()
,
as.png.spork()
,
as_preview.html()
,
as_preview.latex()
,
as_preview.plotmath()
,
as_previews()
,
as_previews.default()
,
as_previews.spork()
,
ggplot.plotmath()
,
ggplot.spork()
library(magrittr)
'V_c./F' %>% as_spork %>% as_plotmath %>% as_preview
# 'V_c./F' %>% as_spork %>% as_latex %>% as_preview
'one joule (Omega) ~ 1 kg*m^2./s^2' %>% as_spork %>% as_plotmath %>% as_preview
# 'one joule (Omega) ~ 1 kg*m^2./s^2' %>% as_spork %>% as_latex %>% as_preview
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.