update.compute_betas_from_shifts {PhylogeneticEM} | R Documentation |
Update function for optimal value computation
Description
update.compute_betas_from_shifts
computes the optimal value at a daughter node,
knowing the optimal value at the parent node and the vector of shifts.
Usage
update.compute_betas_from_shifts(edgeNbr, ancestral, shifts, ...)
Arguments
edgeNbr |
: Number of the edge considered |
ancestral |
: Computed vector for the parental node |
shifts |
position and values of the shifts |
Details
This function is used in function compute_betas_from_shifts
and is designed to
furnish function recursionDown
with the right structure of data.
Value
Updated matrix of size (Nnode + ntaxa)x1.
[Package PhylogeneticEM version 1.8.0 Index]