init.compute_betas_from_shifts {PhylogeneticEM} | R Documentation |
Initialization for the computation of the optimal values
Description
init.compute_betas_from_shifts
initialize the vector of optimal values at nodes and
tips, with the value at the root.
Usage
init.compute_betas_from_shifts(phy, optimal.value, ...)
Arguments
phy |
Input tree. |
optimal.value |
the optimal value at the root of the tree |
Details
This function is used in function compute_betas_from_shifts
and is designed to
furnish function update.compute_betas_from_shifts
with the right structure of data.
Value
Matrix of size (Nnode + ntaxa)x1 of NAs, with the optimal value at the root.
[Package PhylogeneticEM version 1.7.0 Index]