Description Usage Arguments Details Value
Calculates sum of probabilities multiplied by values (e.g. cost) for all branches in decision tree.
1 | payoff(node)
|
node |
The node of a data.tree package tree object |
(previous version: Gives maximum payoff, given optimal decisions) This is the original example using data.tree
jl$Do(payoff, traversal = "post-order", filterFun = isNotLeaf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.