A shiny module creating histogram of data contained in a raster.
histogramForRasterUI(id, title = "", plotParameters, ...) histogramForRaster(input, output, session, rctRasterVals, rctHistogramBreaks, scale = 1, addAxisParams = NULL, ...)
id | An id string that corresponds with the id used to call the module's UI function. |
---|---|
title | Optional title for the histogram. Any shiny tag can be used. |
plotParameters | A list of parameters passed to |
... | Additional parameters passed to |
input | shiny server input object |
output | shiny server output object |
session | shiny server session object |
rctRasterVals | Reactive values (likely extracted from a raster) |
rctHistogramBreaks | Reactive value which is responsible for |
scale | Number used for scaling heights of histogram bars.
When set to 1 (default) histogram bar height represents the number
of raster cells with value from bar interval.
If the resolution of raster is known, |
addAxisParams | Reactive value with parameters to |
None. Invoked for the side-effect of creating shiny UI.
None. Invoked for the side-effect of rendering histogram plot.