View source: R/djpr_plot_box.R
djpr_box_server | R Documentation |
DJPR box plot server
djpr_box_server(id, plot_fun, ..., input_from_server = NULL)
id |
output namespace id to be used in conjunction with |
plot_fun |
a function which generates a ggplot |
... |
arguments passed to plot_fun |
input_from_server |
(experimental) named list of function inputs to be evalued outside a module. currently all input calls are evaluated in a module - that is to say that inputs defined outside the plot namespace are not available. input_from_server evaluates before the module. All inputs used here should be in a reactive wrapper. meaning |
## Not run:
# Experimental input_from_server use
djpr_box_server(
id = "myplot",
plot_fun = viz_make_my_plot,
dates = input$dates,
input_from_server = list(region = reactive(input$region))
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.