Learn R Programming

gfcanalysis (version 1.8.0)

annual_stack: Generate an annual stack of forest change from GFC product

Description

Uses thresholded GFC data as output by threshold_gfc to make an annualized layer stack of forest change. See Details for the class codes used in the annual raster stack. The animate_annual function can be used to produce an animation of forest change from the generated layer stack.

Usage

annual_stack(gfc, dataset = "GFC-2022-v1.10")

Arguments

gfc

thresholded extract of GFC product for a given AOI (see threshold_gfc)

dataset

which version of the Hansen data to use

Details

The output raster stack uses the following codes to describe forest change at each pixel:

Nodata0
Forest1
Non-forest2
Forest loss3
Forest gain4
Forest loss and gain5
Water6

See Also

threshold_gfc, animate_annual