Description Usage Arguments Details Value Examples
View source: R/covariance_matrix.R
Compute normalized covariance matrix
1 | covarianceOU_matrix(tree, alphaOU)
|
tree |
a phylo object |
alphaOU |
hyperparameter |
The coefficient is proportional to (exp(- α * d_{i,j}) - exp(-2 * α * h)) / (2 * α)
the covariance matrix of the OU process on the tree
1 2 | tree <- ape::rtree(3)
covarianceOU_matrix(tree, alpha = 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.