match_to_tree: Match vector of counts to phylogenetic tree

Description Usage Arguments Details Value

Description

Match vector of counts to phylogenetic tree

Usage

1
match_to_tree(x, tree, x_labels = NULL)

Arguments

x

A vector of species counts.

tree

A phylogenetic tree of class "phylo".

x_labels

A vector of species labels for x.

Details

This function applies a couple of different methods to arrange the data in x to match a phylogenetic tree.

Value

The vector x, re-arranged to match the tree.


abdiv documentation built on Jan. 20, 2020, 5:07 p.m.