Description Usage Arguments Value Note Author(s) See Also
Calculate hybrid functional phylogenetic distance matrices based on the method of Cadotte et al 2013
1 | func_phy_dist(FDist, PDist, phyloWeight, p, ...)
|
FDist |
A matrix of functional trait distances |
PDist |
A matrix of phylogenetic distances |
phyloWeight |
The phylogenetic scaling parameter a as described in Cadotte et al 2013. A value of 1 denotes only phylogenetic information while a value of 0 indicates only functional trait information. The value must be between 0 and 1. |
p |
the power to raise each matrix to when combining the two distance matrices. |
... |
Ignored here |
A matrix with weighted interspecific distances
The function does not check to make sure names in
FDist and PDist match. Additionally, if
NAs or NaNs in the distance matrix are generated by missing data,
they will be replaced with matrix level mean distance values and
a warning message will be generated.
Sam Levin
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.