Variance covariance matrix of the values at the tips of a tree under an OU process

covVTipsGivenTreePOUMM(
  tree,
  alpha = 0,
  sigma = 1,
  sigmae = 0,
  tanc = NULL,
  tauij = NULL,
  corr = FALSE
)

Arguments

tree

A phylo object.

alpha, sigma

Non-negative numeric values, parameters of the OU process.

sigmae

Non-negative numeric value, environmental standard deviation at the tips.

tanc

Numerical matrix with the time-distance from the root of the tree to the mrca of each tip-couple. If NULL it will be calculated.

tauij

Numerical matrix with the time (patristic) distance between each pair of tips. If NULL, it will be calculated.

corr

Logical indicating if a correlation matrix shall be returned.

Value

a variance covariance or a correlation matrix of the tips in tree.

References

(Hansen 1997) Stabilizing selection and the comparative analysis of adaptation.