View source: R/parsimonyNumber.R
update.enumerate_parsimony | R Documentation |
update.enumerate_parsimony
is used in function enumerate_parsimony
,
and compute the solution for the parent node, given its children.
update.enumerate_parsimony(
daughters,
daughtersParams,
parent,
cost,
clus,
pos,
...
)
daughters |
vector of daughters nodes. |
daughtersParams |
list with length(daughters) entries, each entry being a list of k matrices representing the possible allocations starting from daughter. |
parent |
the parent node. |
This function takes a list with L entries corresponding to the children of a node,
and compute, for all the regimes, the possible allocations starting with parent
node in that regime. It uses functions select.matrices
to select the
possible states of the children, and matrix_of_possibles
to find the
possible states.
A list of size nclus, each entry being a matrix representing the possible allocations starting with node parent in state k.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.