View source: R/shifts_manipulations.R
compute_betas_from_shifts | R Documentation |
compute_betas_from_shifts
computes the optimal values at the nodes and tips of the
tree, given the value at the root and the list of shifts occurring in the tree.
It assumes an OU model.
compute_betas_from_shifts(phylo, optimal.value, shifts)
phylo |
a phylogenetic tree, class |
optimal.value |
the optimal value at the root of the tree. |
shifts |
position and values of the shifts . |
Note that this is intended to be an internal function, and should not be used.
In general, use node_optimal_values
to get optimal values
from a set of parameters.
Vector of size (ntaxa + Nnode) of the optimal values at the tips of the tree.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.