| plot_richness {nodiv} | R Documentation |
Plot a richness map for an object of type distrib_data, nodiv_data or nodiv_result
Description
Create a raster or point plot showing the species richness of an object. Useful for comparing the species richness of sister clades
Usage
plot_richness(distrib_data, ...)
plot_node(nodiv_data, node = basal_node(nodiv_data), sites = NULL, ...)
Arguments
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 |
Details
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.
Value
If distrib_data has type = raster, a raster object of the SOS values is returned.
Author(s)
Michael Krabbe Borregaard