View source: R/General_figure_functions.R
plot_richness | R Documentation |
Create a raster or point plot showing the species richness of an object. Useful for comparing the species richness of sister clades
plot_richness(distrib_data, ...)
plot_node(nodiv_data, node = basal_node(nodiv_data), sites = NULL, ...)
distrib_data |
An object of types |
nodiv_data |
An object of types |
node |
The name or internal number of the node to be plotted |
sites |
If |
... |
Further arguments to pass to the plotting function |
The plot will be done as a spatial grid or as colored points, depending on the type
of the nodiv_result
object. plot_richness
plots the richness of the entire dataset, whereas plot_node
plots the species richness of a given node.
If distrib_data
has type = raster
, a raster object of the SOS values is returned.
Michael Krabbe Borregaard
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.