djpr_box_server: DJPR box plot server

View source: R/djpr_plot_box.R

djpr_box_serverR Documentation

DJPR box plot server

Description

DJPR box plot server

Usage

djpr_box_server(id, plot_fun, ..., input_from_server = NULL)

Arguments

id

output namespace id to be used in conjunction with djpr_plot_ui or djpr_plot_box

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

Examples

## 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)

djpr-data/djprshiny documentation built on May 14, 2023, 1:15 p.m.