UI function of a shiny module which creates a histogram using barplot based on the data received
Server function of a shiny module which creates a histogram using barplot based on the data received.
histogramUI(id, ...) histogram(input, output, session, histdata, addAxisParams = NULL, verticalBar = NULL, fname = NULL, ...)
| id | An id string that corresponds with the id used to call the module's UI function. |
|---|---|
| ... | Additional UI parameters passed to |
| input | shiny server input object |
| output | shiny server output object |
| session | shiny server session object |
| histdata | Reactive value containing a numeric vector of proportions corresponding
to each histogram bin (i.e., the output of |
| addAxisParams | Reactive value with parameters to |
| verticalBar | Numeric value at which to add an |
| fname | optional filepath to save |
None. Invoked for the side-effect of rendering bar plot.