yslb.Rd
yslb
calculates the year since last burn (yslb) metrics from the data stored
in the list constructed from the assemble_data()
function.
yslb(data, products = TRUE)
a data list object created from assemble_data()
default TRUE. Renders yslb products to ./outputs
A list containing the four yslb products and if products = TRUE
a
folder containing rendered products.
The function calculates yslb both spatially and as area statements for the area of interest (aoi) and for the time period defined in the previously constructed data list. The function will create a list object containing four items:
A yslb raster object (class SpatRaster)
A ggplot object of a 'map' showing the yslb raster
A data frame of yslb area stats
A ggplot object of a column plot showing area by yslb
Using default parameters, the function also outputs the four items to a created folder ("outputs") in the working directory. All outputs are named by aoi and time period to differentiate products. Note the yslb raster and product are projected to Albers GDA2020 (epsg:9473).
if (FALSE) {
yslb_list <- yslb(data = data_list, products = TRUE)
}