Learn R Programming

picante (version 1.8.2)

multiPhylosignal: Calculates phylogenetic signal for data.frame of traits

Description

Calculates phylogenetic signal for data.frame of traits. Traits may have missing values in which case the tree will be pruned prior to calculating phylogenetic signal for each trait.

Usage

multiPhylosignal(x, phy, checkdata=TRUE, ...)

Arguments

x

Data frame of trait data (traits in columns) with row names corresponding to tip.labels

phy

phylo object

checkdata

Check for match between trait and phylogeny taxa labels using match.phylo.data? (default=TRUE)

...

Additional arguments to phylosignal

Value

Returns a data frame with phylogenetic signal results for each trait