recursionDown {PhylogeneticEM} | R Documentation |
Generic recursion down the tree.
Description
recursionDown
uses the function updateDown
to compute
daughters rows of matrix param.
Usage
recursionDown(phy, params, updateDown, ...)
Arguments
phy |
Input tree, in cladewise order. |
params |
Matrix of parameters to update by the recursion |
updateDown |
Function to be used for the update |
... |
Arguments to be used by the function updateDown |
Details
This function is to be used in other more complex function that need to update a quantity from the root to the tips of a tree. Note that the input tree must be in cladewise order.
Value
Matrix of parameters updated.
[Package PhylogeneticEM version 1.8.0 Index]