Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plot.Indicator

Plot indicator


Description

A plot of gaugeIndicator is printed.

Usage

## S3 method for class 'Indicator'
plot(x, ...)

Arguments

x

tibble. Data set of indicators such as that produced by gaugeIndicator.

...

Further arguments in aes.

Author(s)

Wilson Lara Henao <wilarhen@temple.edu> [aut, cre], Victor Gutierrez-Velez [aut]

Examples

## 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)
)

## Binary layers of Forest and non-forest areas (keep.ebv = FALSE):
suppressWarnings(
    def_bin <- deforest(amazon, names(amazon)[grepl('TC', names(amazon))],
                        ebv.vals = 0:100,
                        remnant.areas = TRUE, keep.ebv = FALSE, mc.cores = 2)
)

## Areas for both the binary and the continuous forest layers:

defareas <- suppressWarnings(gaugeIndicator(def_bin, ind = 'lsm_c_ca'))
defclasses <- suppressWarnings(gaugeIndicator(def, ind = 'lsm_c_ca'))

## Plot the indicators:

plot(defareas)
plot(defclasses)

ecochange

Integrating Ecological Remote Sensing Data to Derive EBV Metrics

v1.3
GPL-3
Authors
Wilson Lara Henao [aut, cre], Victor Gutierrez-Velez [aut]
Initial release
2020-10-06

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.