View source: R/parsimonyNumber.R
| extract.parsimonyCost | R Documentation |
extract.parsimonyCost takes an object of class "parsimonyCost",
result of function parsimonyCost, and computes the minimum cost
at the given node.
## S3 method for class 'parsimonyCost'
extract(x, node = attr(x, "ntaxa") + 1, ...)
x |
an object of class " |
node |
the root node of the subtree. By default, the root of the tree. |
... |
unused |
An integer giving the minimum cost of the subtree.
parsimonyCost
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.