powered by
Plot PDF of fire index
plot_pdf(fire_index, thresholds, upper_limit = NULL, v_lines = NULL)
RasterBrick containing the fire index
thresholds calculated using the function get_fire_danger_levels()
get_fire_danger_levels()
FWI upper limit to visualise (the default is the maximum FWI)
named vector of values to plot as vertical lines (this can be quantiles for comparison)
# NOT RUN { r <- readRDS(system.file("extdata", "RISICO_raster.rds", package = "caliver")) plot_pdf(r, thresholds = c(5.2, 11.2, 21.3, 38, 50)) # } # NOT RUN { # }
Run the code above in your browser using DataLab