cbdf.Rd
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)
x | character or data frame. The file name of the or the data frame object from that file. See details. |
---|---|
by_veg | logical, if |
a data frame.
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.
fsv fsdf
# NOT RUN { cbdf("historical_fsv.rds") # }