FCMosaic: Forest-Change Mosaic

Description Usage Arguments Details Value Author(s) Examples

Description

This function tests whether adjacent layers of GFC can be bounded together using partial matching over the layer names. If it is possible then mosaic is implemented.

Usage

1
FCMosaic(rst = NULL, lyrs = c("treecover2000", "lossyear"), mc.cores = detectCores())

Arguments

rst

list or NULL. List of GFC layers. If NULL then other arguments are ignored and the function returns NULL.

lyrs

character. Vector of strings matching layer names in GFC data. Defaults 'treecover2000' and 'lossyear'.

mc.cores

logical. Use parallel execution. Default TRUE. Ignored in Windows machines.

Details

The function is implemented by FCPolygon to cut GFC data.

Value

list of rasters.

Author(s)

Wilson Lara <wilarhen@temple.edu>, Victor Gutierrez-Velez <victorhugo@temple.edu>

Examples

1
2
## Printing NULL output:    
FCMosaic(NULL)

forestChange documentation built on March 26, 2020, 7:26 p.m.