distrigraph | R Documentation |
Build plots displaying distribution of biodiversity records among user-defined features.
distrigraph(indf, ptype = NA, cumulative = FALSE, ...)
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 |
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.
No return value, called for plotting the graphs
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.