Function to calculate a phylogenetic similarity matrix.
zmatrix(partition, s, ps)
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 terminal taxa
smatrix()
output; ultrametric-similarity matrix.
phy_struct()
output.
zmatrix()
returns an \(hS x hS\) matrix; pair-wise similarity of historic species.