Plot the response data as a histogram
plot_response(response)
A plotly object
shape <- sf::st_read(system.file("extdata", "shapes", package = "disagapp"))
#> Reading layer `mdg_shapes' from data source
#> `/home/runner/work/_temp/Library/disagapp/extdata/shapes' using driver `ESRI Shapefile'
#> Simple feature collection with 109 features and 16 fields
#> Geometry type: MULTIPOLYGON
#> Dimension: XY
#> Bounding box: xmin: 43.19138 ymin: -25.60895 xmax: 50.48378 ymax: -11.94543
#> Geodetic CRS: WGS 84
response <- shape[['inc']]
plot_response(response)