gfPlotServer {gofigR} | R Documentation |
Creates a Shiny component to handle plotting and publishing. Has to be paired with a gfPlot element in the UI.
Description
Creates a Shiny component to handle plotting and publishing. Has to be paired with a gfPlot element in the UI.
Usage
gfPlotServer(
id,
expr,
metadata = NULL,
env = parent.frame(),
figure_name = NULL,
quoted = FALSE,
base_graphics = FALSE
)
Arguments
id |
id of the gfPlot element |
expr |
expression generating a plot |
metadata |
metadata to publish with the figure. You can pass the shiny input object to capture input values. |
env |
environment in which to evaluate the expression |
figure_name |
name of the figure to publish under. Inferred from figure's title if NULL. |
quoted |
whether the passed expression is quoted |
base_graphics |
whether the passed expression uses base graphics |
Value
moduleServer
[Package gofigR version 1.1.0 Index]