blob: 5312a7bdf816834db88695bbe514693f6e8397c5 [file] [log] [blame]
Bill Evansb62414a2020-09-14 12:33:38 -07001% 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{
7make_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
21read the file into an embedded SVG object; once done, the file is
22no longer used. The default action is to delete this file early,
23set this to 'FALSE' to keep the file.}
24}
25\value{
26list object, with class 'kableExtraInlinePlots'
27}
28\description{
29Combine file (or svg text) and parameters into a 'kableExtraInlinePlots' object
30}