bdvis (version 0.2.9)

distrigraph: Distribution graphs

Description

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

Usage

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

Arguments

indf
input data frame containing biodiversity data set
ptype
Feature to represent. Accepted values are "species", "cell" and "efforts" (year)
...
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

Run this code
## 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)

Run the code above in your browser using DataCamp Workspace