occCite (version 0.4.5)

plot.occCiteData: Plotting summary figures for occCite search results

Description

Generates up to three different kinds of plots, with toggles determining whether plots should be done for individual species or aggregating all species--histogram by year of occurrence records, waffle::waffle plot of primary data sources, waffle::waffle plot of data aggregators.

Usage

# S3 method for occCiteData
plot(x, ...)

Arguments

x

An object of class occCiteData to map.

...

Additional arguments affecting how the formatted citation document is produced. `bySpecies`: Logical; setting to `TRUE` generates the desired plots for each species. `plotTypes`: The type of plot to be generated; "yearHistogram", "source", and/or "aggregator".

Value

A list containing the desired plots.

Examples

Run this code
# NOT RUN {
data(myOccCiteObject)
plot(x = myOccCiteObject, bySpecies = FALSE,
               plotTypes = c("yearHistogram", "source", "aggregator"))

# }

Run the code above in your browser using DataLab