getAQ | R Documentation |
This can be used to generate a string corresponding to calculating
the mean tree output for a given quantity over the tree.
The tree is specified as the input node
, which must be a
data.tree
object containing probability variables as p
.
The quantity to be averaged over must be a node attribute qnt
,
which defaults as cost
.
getAQ(node, qnt = "cost")
node |
a |
qnt |
Quantity |
string
to be evaluated in calculations
Pete Dodd
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.