phyIC: independent contrasts calculation

Description Usage Arguments Value Examples

Description

calculates independent contrasts and returns the IC of trait values, ancestral state estimates, phylogenetic mean, rate of BM evolution, root variance, the rescaled phylogeny and the log-likelihood

Usage

1
phyIC(phy, yDat)

Arguments

phy

dated tree in ape format

yDat

named vector of trait values

Value

list of parameters

Examples

1
2
3
4
5
set.seed(30)
# simulate tree with 20 species
simTree <- rcoal(20)
simData <- cladeModeSim(n=1, phy=simTree, mode="BM")
phyIC(simTree, simData)

PuttickMacroevolution/cladeMode documentation built on May 8, 2019, 3:47 a.m.