Calculates the relative abundance of historical species.

phy_abundance(partition, structure_matrix)

Arguments

partition

two-dimensional matrix of mode numeric with rows as types (species), columns as subcommunities, and each element containing the relative abundance of types in each subcommunity relative to the metacommunity as a whole. In the phylogenetic case, this corresponds to the proportional abundance of historical species, which is calculated from the proportional abundance of terminal taxa

structure_matrix

output$structure of phy_struct().