Node_size {nodiv} | R Documentation |
Functions that summarize the species that descend from a node, and their distribution.
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)
node |
A character or numeric variable specifying one or more nodes in the phylogeny |
nodiv_data |
An object of type |
names |
If |
If no node
is specified in Node_size
or Node_occupancy
, the function will calculate the value for all nodes in the phylogeny
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.
Michael Krabbe Borregaard