FPDist: Functional phylogenetic distance

Description Usage Arguments Value Note

Description

Computates a functional phylogenetic distance matrix from phylogenetic and functional distance matrices and two weighting parameters.

Usage

1
FPDist(PDist, FDist, a, p, ord = TRUE)

Arguments

PDist

A phylogenetic distance matrix.

FDist

A functional distance matrix.

a

A number between 0 and 1 giving the amount of weight. to put on PDist relative to FDist.

p

A number giving the p-norm.

ord

Order rows and columns of the matrices? (defaults to TRUE).

Value

A distance matrix.

Note

This function is not very user friendly yet. There are no doubt many use cases that I've ignored.


funphylocom documentation built on May 2, 2019, 5 p.m.