Plot PDF of fire index

plot_pdf(fire_index, thresholds, upper_limit = NULL, v_lines = NULL)

Arguments

fire_index

RasterBrick containing the fire index

thresholds

thresholds calculated using the function get_fire_danger_levels()

upper_limit

FWI upper limit to visualise (the default is the maximum FWI)

v_lines

named vector of values to plot as vertical lines (this can be quantiles for comparison)

Examples

if (FALSE) {
  r <- readRDS(system.file("extdata", "RISICO_raster.rds", package = "caliver"))
  plot_pdf(r, thresholds = c(5.2, 11.2, 21.3, 38, 50))
}