check_phypartition()
is used to validate partition matrices for use
with phylogenies.
check_phypartition(tip_labels, partition)
vector containing elements of class character
.
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
Returns a two-dimensions matrix
of mode numeric
. If
the partition matrix was valid, this should be identical to that which was
input as an argument.