annual_stack | R Documentation |
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.
annual_stack(gfc, dataset = "GFC-2022-v1.10")
gfc |
thresholded extract of GFC product for a given AOI (see
|
dataset |
which version of the Hansen data to use |
The output raster stack uses the following codes to describe forest change at each pixel:
Nodata | 0 |
Forest | 1 |
Non-forest | 2 |
Forest loss | 3 |
Forest gain | 4 |
Forest loss and gain | 5 |
Water | 6 |
threshold_gfc
, animate_annual
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.