Learn R Programming

bdvis (version 0.2.37)

tempolar: Polar plot of temporal data

Description

Representation in polar axis of the distribution of dates in the provided data set.

Usage

tempolar(
  indf = NA,
  timescale = NA,
  title = NA,
  color = NA,
  plottype = NA,
  avg = FALSE
)

Value

No return value, called for plotting the graph

Arguments

indf

input data frame containing biodiversity data set

timescale

Temporal scale of the graph, or how are dates aggregated. Accepted values are: d (daily, each feature in the plot represents a day), w (weekly, each feature in the plot represents a week) and m (monthly, each feature in the plot represents a month). Default is d (daily).

title

Title for the graph. Default is "Temporal coverage".

color

color of the graph plot. Default is "red".

plottype

Type of feature. Accepted values are: r (lines), p (polygon) and s (symbols). Default is p (polygon).

avg

If TRUE plots a graph of the average records rather than total numbers. Default is FALSE.

Details

This function returns a plot representing the temporal distribution of records in the data set. This is done by representing dates in a radial axis, with the distance from the center being the amount of records for that particular date. This function allows several arguments indicating different representation types. See the arguments section for an enumeration of them.

References

Otegui, J., Arino, A. H., Encinas, M. A., & Pando, F. (2013). Assessing the Primary Data Hosted by the Spanish Node of the Global Biodiversity Information Facility (GBIF). PLoS ONE, 8(1), e55144. doi:10.1371/journal.pone.0055144

See Also

Other Temporal visualizations: bdcalendarheat(), chronohorogram()

Examples

Run this code
if (FALSE) {
tempolar(inat)
}

Run the code above in your browser using DataLab