Description Usage Arguments Details Value Author(s) Examples
Returns the species richness of each community, i.e. the number of tip taxa having positive abundance.
1 |
phy |
a |
comm |
a vector of community labels; if missing, all communities |
na.zero |
logical. should NAs be treated as zero abundances? |
For each community tree, the upper bound on richness is simply the
number of tips in the tree. However, the richness value will be lower
if any species do not have positive abundance. When
na.zero=TRUE
, species with NA
abundance are considered
missing, otherwise NA
will propagate through to the result.
Vector of richness values, with names corresponding to community names in the phylo4com object.
Jim Regetz (regetz@nceas.ucsb.edu)
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.