Sample Indicator
This function can divide Essential Biodiversity Variables into
fixed-size grids and calculate biodiversity indicators in the
grids. To compute indicators avoiding the grid sampling
procedure see gaugeIndicator
sampleIndicator(roi = NULL, ..., ind = "condent", min = 1, max = 100, classes = 5, side, perc. = 15, mc.cores = round(detectCores() * 0.6, 0))
roi |
|
... |
If |
ind |
|
min |
|
max |
|
classes |
|
side |
|
perc. |
|
mc.cores |
|
Raster*
.
Wilson Lara Henao <wilarhen@temple.edu> [aut, cre], Victor Gutierrez-Velez [aut]
Hesselbarth, M. H., Sciaini, M., With, K. A., Wiegand, K., & Nowosad, J. (2019). landscapemetrics: an open source R tool to calculate landscape metrics. Ecography, 42(10), 1648-1657.
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.
Skidmore, A. K., & Pettorelli, N. (2015). Agree on biodiversity metrics to track from space: Ecologists and space agencies must forge a global monitoring strategy. Nature, 523(7561), 403-406.
## Warnings from GDAL/PROJ are suppressed. ## Brick with structural Essential Biodiversity Variables covering the ## extent of a location in the northern Amazon basin (Colombia): path. <- system.file('amazon.grd',package = 'ecochange') amazon <- suppressWarnings(brick(path.)) ## Tree-cover layers in the 'amazon' brick are both formatted and ## deforested: suppressWarnings( def <- deforest(amazon, names(amazon)[grepl('TC', names(amazon))], ebv.vals = 0:100, remnant.areas = TRUE, keep.ebv = TRUE, mc.cores = 2) ) ## Conditional entropy is sampled along the deforested layers using ## cell sides of 300m: suppressWarnings( condent <- sampleIndicator(def, side = 300, mc.cores = 2) ) suppressWarnings( plotebv(condent) )
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.