Learn R Programming

forestChange (version 1.0)

EBVmetric: EBV metric

Description

This function formats GFC and computes structural metrics of Essential Biodiversity Variables (EBV metrics): forest-cover areas and landscape metrics, in predefined polygons or GADM.

Usage

EBVmetric(pol, what = "lsm_l_tafc", mc.cores = detectCores(), 
    ...)

Arguments

pol

RasterStack.Stack such as these produced by FCMask.

what

character. The metrics. These include 'lsm_l_tafc' to compute total forest-cover areas (ha) and other landscape metrics in calculate_lsm. Default ('lsm_l_tafc').

mc.cores

numeric. The number of cores, see mclapply.

additional arguments in calculate_lsm.

Value

tibble.

Details

Coordinate system of the spatial units should be UTM. Metrics other than 'lsm_l_tafc' are calculated implementing calculate_lsm.

References

O'Connor, B., Secades, C., Penner, J., Sonnenschein, R., Skidmore, A., Burgess, N. D., & Hutton, J. M. (2015). Earth observation as a tool for tracking progress towards the Aichi Biodiversity Targets. Remote sensing in ecology and conservation, 1(1), 19-28.

Examples

Run this code
# NOT RUN {
 
# }
# NOT RUN {
 mpio <- 'Uribia'
 msk <- FCMask(mpio, year = 10:17)
 met <- EBVmetric(msk, what = 'lsm_l_frac_mn')
 plot(met)
 
# }

Run the code above in your browser using DataLab