evolVarOU: Calculate evolutionary variance from phylogeny under the OU...

Description Usage Arguments Value

View source: R/EVEcore.R

Description

Calculate expected species mean, and evolutionary variance for each node in the tree given theta, sigma^2 and alpha parameters for each edge in the tree.

Usage

1
evolVarOU(tree, alphas, sigma2s, rootVar)

Arguments

tree

Species phylogeny (phylo object)

alphas

Vector of alpha parameters for each edge in the tree

sigma2s

Vector of sigma2 parameters for each edge in the tree

rootVar

The evolutionary variance at the root node

Value

Vector of variances for each node


Jmendo12/evemodel documentation built on June 17, 2020, 8:56 p.m.