Learn R Programming

rSymbiota (version 1.0.0)

plot_recordstreemap: Treemap of records data

Description

Treemap of records data

Usage

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

Value

Map (using treemap package)

Details

Makes use of R package 'treemap'

Examples

Run this code
# NOT RUN {
am.dist <- symbiota(taxon = "Amanita muscaria", db = "MyCoPortal")
head(recordsTable(am.dist))
plot_recordstreemap(am.dist, log = FALSE)
# }

Run the code above in your browser using DataLab