Generate a data frame of exact fire sizes and cumulative burn for each vegetation class in a region or their spatial union.

fsdf(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 fire sizes.

See also

fsv cbdf

Examples

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