compute_state_filter | R Documentation |
compute_state_filter
compute the admissible daughters states, i.e. states that
realize the minimum cost for the tree parent -> daughter -> subtree(daughter), when
the parent node is in state k.
compute_state_filter(cost, k)
cost |
a (ndaughters) x (nclus) matrix of the cost of each state for the daughters nodes. |
k |
the parental state considered. |
This function is used in functions parsimonyNumber
and enumerate_parsimony
.
A (ndaughters) x (nclus) binary matrix indicating the admissible states for the daughters node when parent node is in state k.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.