Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

make_inline_plot

Combine file (or svg text) and parameters into a 'kableExtraInlinePlots' object


Description

Combine file (or svg text) and parameters into a 'kableExtraInlinePlots' object

Usage

make_inline_plot(filename, file_ext, dev, width, height, res, del = TRUE)

Arguments

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.

Value

list object, with class 'kableExtraInlinePlots'


kableExtra

Construct Complex Table with 'kable' and Pipe Syntax

v1.3.4
MIT + file LICENSE
Authors
Hao Zhu [aut, cre] (<https://orcid.org/0000-0002-3386-6076>), Thomas Travison [ctb], Timothy Tsai [ctb], Will Beasley [ctb], Yihui Xie [ctb], GuangChuang Yu [ctb], Stéphane Laurent [ctb], Rob Shepherd [ctb], Yoni Sidi [ctb], Brian Salzer [ctb], George Gui [ctb], Yeliang Fan [ctb], Duncan Murdoch [ctb], Bill Evans [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.