distrigraph {bdvis}R Documentation

Distribution graphs

Description

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

Usage

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

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.

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)

[Package bdvis version 0.2.28 Index]