estimate_tree: Estimate Decision Tree Function

Description Usage Arguments Value Examples

View source: R/estimate_tree.R

Description

This function estimates final payoffs from a decision tree object.

Usage

1
estimate_tree(tree, payoffs = NULL)

Arguments

tree

a decision tree/graph object generated by create_tree()

payoffs

a list of cost/effect column names to use during estimation

Value

list with tree outcomes (pathprobabs, payoffs, weighted payoffs)

Examples

1
results <- estimate_tree(tree, c("cost","effect"))

DARTH-git/Dectree documentation built on Feb. 6, 2020, 6:57 p.m.