barplot.EBVstats: barplot EBV Stats

Description Usage Arguments Value Author(s) Examples

Description

A barplot of EBVstats is printed.

Usage

1
2
3
## S3 method for class 'EBVstats'
barplot(height, 
    ...)

Arguments

height

tibble of EBVstats.

...

Additional arguments in barplot.

Value

Bar plot.

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
23
24
25
26
27
## 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 <- echanges(amazon, eco = 'TC',
                change = 'lossyear',
                eco_range = c(1,80),
                get_unaffected = TRUE,
                binary_output = FALSE,
                mc.cores = 2)
)

## Deforestation Statistics:

defstats <- suppressWarnings(EBVstats(def))

## barplot method:

barplot(defstats)

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