Generate a data frame of cumulative burn over time for each vegetation class in a region or their spatial union.

cbdf(x, by_veg = FALSE)

Arguments

x

character or data frame. The file name of the or the data frame object from that file. See details.

by_veg

logical, if TRUE, do not aggregate vegetation classes for full regional totals.

Value

a data frame.

Details

This function takes an exact-type fire size by vegetation class .rds file or the data frame it contains if already loaded into the R session. The source file is one created by fsv. Vegetation-specific fire sizes are aggregated by unique fire IDs by default (by_veg = FALSE) per simulation replicate, year and, if present, fire management options treatment levels. In either case the function adds a column for cumulative burn area alongside ascending years.

See also

fsv fsdf

Examples

# NOT RUN {
cbdf("historical_fsv.rds")
# }