plotebv: Plot EBV

Description Usage Arguments Value Author(s) Examples

Description

This function displays level plots for ecosystem remote sensing products using common scale-bars. The function is helpful to visualize patterns in biodiversity indicators.

Usage

1
2
plotebv(ebv, col.regions = rev(viridis_pal(option = "D")(255)), 
    ...)

Arguments

ebv

Raster*. Raster Object.

col.regions

. Color palette. If null then viridis_pal(option = 'D') is implemented.

...

. Further arguments in panel.levelplot()

Value

levelplot.

Author(s)

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

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
    ## 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.))
    
    ## Changes in layers of tree-canopy cover (TC) in the 'amazon'
    ## brick are computed:
    suppressWarnings(
    def <- echanges(amazon, eco = 'TC',
                    change = 'lossyear',
                    eco_range = c(1,80),
                    get_unaffected = TRUE,
                    binary_output = FALSE,
                    mc.cores = 2)
    )
    
    ## Function 'plotebv' allows comparing rasters using a common scale bar:
    suppressWarnings(
    plotebv(def)
)

ecochange documentation built on Sept. 8, 2021, 5:09 p.m.