as_preview {spork} | R Documentation |
Preview Something
Description
Creates a preview.
Generic, with methods as_preview.latex
and
as_preview.plotmath
.
Usage
as_preview(x, ...)
Arguments
x |
object |
... |
passed arguments |
Value
see methods
See Also
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()
Examples
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
[Package spork version 0.3.5 Index]