prune.sample {picante}R Documentation

Prune tree to match community data or trait data

Description

Prune a phylogenetic tree to include only species present in a community data set or with non-missing trait data

Usage

prune.sample(samp, phylo)
prune.missing(x, phylo)

Arguments

phylo

phylo object

samp

Community data matrix

x

Vector of trait data

Value

Returns a pruned phylo object

Author(s)

Steven Kembel <steve.kembel@gmail.com>


[Package picante version 1.8.2 Index]