plot_recordstreemap: Treemap of records data

Description Usage Arguments Details Value Author(s) Examples

View source: R/plot_recordstreemap.R

Description

Treemap of records data

Usage

1
plot_recordstreemap(x, groupvar = "country", log = TRUE)

Arguments

x

an object of class "records", see symbiota

groupvar

character of grouping variable, e.g., Country

log

logical whether data should be log-transformed

...

further arguments may be passed to treemap

Details

Makes use of R package 'treemap'

Value

Map (using treemap package)

Author(s)

Franz-Sebastian Krah

Examples

1
2
3
4
5
6
## Not run: 
am.dist <- symbiota(taxon = "Amanita muscaria", db = "MyCoPortal")
head(recordsTable(am.dist))
plot_recordstreemap(am.dist, log = FALSE)

## End(Not run)

FranzKrah/rSymbiota_dev documentation built on Aug. 6, 2019, 3:45 p.m.