covarianceOU: Covariance from phylogeny under the OU model

Description Usage Arguments Value

View source: R/EVEcore.R

Description

Calculates the OU model covariance matrix given alpha parameters for each edge and the evolutionary variance at each node of a tree.

Usage

1
covarianceOU(tree, alphas, evol.variance)

Arguments

tree

Species phylogeny (phylo object)

alphas

Vector of alpha parameters for each edge in the tree

evol.variance

Vector of evolutionary variance for each edge in the tree (as generated by evolVarOU)

Value

Covariance matrix


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