plot.echanges: Visualize ecosystem changes

plot.echangesR Documentation

Visualize ecosystem changes


This function can display level and box plots for objects from rsp2ebv, echanges, or sampleIndicator.


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



Raster*, or echanges. RasterStack object or ecoystem-change representation.


character. A color palette. If this is missing or the suggest viridis is not installed then terrain.colors is implemented.


Graphical arguments:

  • type: what type of plot should be drawn: "p" for level plots (default), or "b" for box plots,

  • cex: adjustment of sizes for most text values. If missing then cex = 1; if a main title is specified then it is increased 1.4*cex,

  • xlab, and ylab: titles for the x and y axes,

  • main: a text of the main title,

  • labels: a string or numeric sequence for the panel titles


Wilson Lara Henao <> [aut, cre], Victor Gutierrez-Velez [aut], Ivan Gonzalez [ctb], Maria C. Londono [ctb]


## 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 <- brick(path.)

## Changes in layers of tree-canopy cover (TC) in the 'amazon'
## brick are computed:
def <- echanges(amazon, eco = 'TC',
                change = 'lossyear',
                eco_range = c(1,80),
                get_unaffected = TRUE,
                binary_output = FALSE,
                mc.cores = 2)


ecochange documentation built on March 7, 2023, 7:16 p.m.