func_phy_dist: Functional-Phylogenetic Distances (FPD)

Description Usage Arguments Value Note Author(s) See Also

Description

Calculate hybrid functional phylogenetic distance matrices based on the method of Cadotte et al 2013

Usage

1
func_phy_dist(FDist, PDist, phyloWeight, p, ...)

Arguments

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

Value

A matrix with weighted interspecific distances

Note

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.

Author(s)

Sam Levin

See Also

rarefy_FPD


levisc8/Fun_Phylo_Package documentation built on June 2, 2020, 8:41 a.m.