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, ...)
If distrib_data
has type = raster
, a raster object of the SOS values is returned.
An object of types distrib_data
, nodiv_data
or nodiv_result
An object of types nodiv_data
or nodiv_result
The name or internal number of the node to be plotted
If sites = "all"
the plotting region retains all sites (including sites unoccupied by that node)
Further arguments to pass to the plotting function
Michael Krabbe Borregaard
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.