Bill Evans | b62414a | 2020-09-14 12:33:38 -0700 | [diff] [blame] | 1 | % Generated by roxygen2: do not edit by hand |
| 2 | % Please edit documentation in R/graphics_helpers.R |
| 3 | \name{make_inline_plot} |
| 4 | \alias{make_inline_plot} |
| 5 | \title{Combine file (or svg text) and parameters into a 'kableExtraInlinePlots' object} |
| 6 | \usage{ |
| 7 | make_inline_plot(filename, file_ext, dev, width, height, res, del = TRUE) |
| 8 | } |
| 9 | \arguments{ |
| 10 | \item{filename}{Passed through to the graphics device.} |
| 11 | |
| 12 | \item{file_ext}{Character, something like "png".} |
| 13 | |
| 14 | \item{dev}{Character (e.g., "svg", "pdf") or function (e.g.,} |
| 15 | |
| 16 | \item{width, height}{Plot dimensions in pixels.} |
| 17 | |
| 18 | \item{res}{The resolution of the plot; default is 300.} |
| 19 | |
| 20 | \item{del}{If the file is svg-like, then the default action is to |
| 21 | read the file into an embedded SVG object; once done, the file is |
| 22 | no longer used. The default action is to delete this file early, |
| 23 | set this to 'FALSE' to keep the file.} |
| 24 | } |
| 25 | \value{ |
| 26 | list object, with class 'kableExtraInlinePlots' |
| 27 | } |
| 28 | \description{ |
| 29 | Combine file (or svg text) and parameters into a 'kableExtraInlinePlots' object |
| 30 | } |