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

Description Usage Arguments Details See Also

View source: R/annual_stack.R


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, data_year = 2015)



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


which version of the Hansen data was used when


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

See Also

threshold_gfc, animate_annual

gfcanalysis documentation built on May 19, 2017, 9:53 p.m.

Search within the gfcanalysis package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.