plot_gfc: Plot forest change (relative to 2000) for a given year

View source: R/animate_annual.R

plot_gfcR Documentation

Plot forest change (relative to 2000) for a given year

Description

Plots a single layer of forest change from a layer stack output by annual_stack.

Usage

plot_gfc(fchg, aoi, title_string = "", size_scale = 1, maxpixels = 50000)

Arguments

fchg

a forest change raster layer (a single layer of the layer stack output by annual_stack

aoi

one or more AOI polygons as a SpatialPolygonsDataFrame or sf object. If there is a 'label' field in the dataframe, it will be used to label the polygons in the plots. If the AOI is not in WGS 1984 (EPSG:4326), it will be reprojected to WGS84.

title_string

the plot title

size_scale

a number used to scale the size of the plot text

maxpixels

the maximum number of pixels from fchg to use in plotting

See Also

annual_stack, animate_annual


gfcanalysis documentation built on Oct. 11, 2023, 5:15 p.m.