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