covVTipsGivenTreePOUMM: Variance covariance matrix of the values at the tips of a...

Description Usage Arguments Value References

Description

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

Usage

1
2
3
4
5
6
7
8
9
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.


venelin/POUMM documentation built on Oct. 25, 2020, 12:07 a.m.