plot_pdf: plot_pdf

Description Usage Arguments Examples

View source: R/plot_pdf.R

Description

Plot PDF of fire index

Usage

1
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

1
2
3
4
5
## 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))

## End(Not run)

caliver documentation built on Feb. 19, 2021, 5:07 p.m.