View source: R/graphics_helpers.R
make_inline_plot | R Documentation |
kableExtraInlinePlots
objectCombine file (or svg text) and parameters into a kableExtraInlinePlots
object
make_inline_plot(filename, file_ext, dev, width, height, res, del = TRUE)
filename |
Passed through to the graphics device. |
file_ext |
Character, something like "png". |
dev |
Character (e.g., "svg", "pdf") or function (e.g., |
width , height |
Plot dimensions in pixels. |
res |
The resolution of the plot; default is 300. |
del |
If the file is svg-like, then the default action is to read the file into an embedded SVG object; once done, the file is no longer used. The default action is to delete this file early, set this to 'FALSE' to keep the file. |
list object, with class kableExtraInlinePlots
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.