Skip to contents

Cophenetic (patristic) distances from a phylogeny, scaled to a maximum of 1 by default. Use them as dist in trait_rao(), trait_ses() or trait_fd_indices() to measure phylogenetic instead of functional diversity, or combine them with trait distances in phylo_combine_dist().

Usage

phylo_dist(tree, scale = TRUE)

Arguments

tree

A phylogeny of class phylo (ape); tip labels must match species names.

scale

Scale distances to a maximum of 1?

Value

A dist object labelled by tip labels.