distrigraph: Distribution graphs

View source: R/distrigraph.R

distrigraphR Documentation

Distribution graphs

Description

Build plots displaying distribution of biodiversity records among user-defined features.

Usage

distrigraph(indf, ptype = NA, cumulative = FALSE, ...)

Arguments

indf

input data frame containing biodiversity data set

ptype

Feature to represent. Accepted values are "species", "cell", "efforts" and "effortspecies" (year)

cumulative

with ptype as efforts, plot a cumulative records graph

...

any additional parameters for the plot function.

Details

The main use of this function is to create record histograms according to different features of the data set. For example, one might want to see the evolution of records by year, or by species. This function enables easy access to such plots.

Value

No return value, called for plotting the graphs

Examples

## Not run: 
 distrigraph(inat,ptype="cell",col="tomato")
 distrigraph(inat,ptype="species",ylab="Species")
 distrigraph(inat,ptype="efforts",col="red")
 distrigraph(inat,ptype="efforts",col="red",type="s")

## End(Not run)

bdvis documentation built on June 9, 2022, 5:08 p.m.