Node_size {nodiv} | R Documentation |
Attributes of individual clades
Description
Functions that summarize the species that descend from a node, and their distribution.
Usage
Node_size(nodiv_data, node = NULL)
Node_sites(nodiv_data, node, names = TRUE)
Node_species(nodiv_data, node, names = TRUE)
Node_occupancy(nodiv_data, node = NULL)
Arguments
node |
A character or numeric variable specifying one or more nodes in the phylogeny |
nodiv_data |
An object of type |
names |
If |
Details
If no node
is specified in Node_size
or Node_occupancy
, the function will calculate the value for all nodes in the phylogeny
Value
For Node_size
and Node_occupancy
the number of species or number of occupied sites of the nodes; or a vector giving this value for all nodes. For Node_species
or Node_sites
a character vector of names of species descending from a node, or the sites where they occur.
Author(s)
Michael Krabbe Borregaard