Description Usage Arguments Value See Also Examples
View source: R/create_costeffectiveness_tree.R
The resulting object is used in the main package functions. Branch distributions are currently permitted as uniform, gamma and triangle. All branches require some distribution. All branches must end in a terminal node.
1 2 | costeffectiveness_tree(yaml_tree, details = "", data_prob = NA,
data_val = NA, ...)
|
yaml_tree |
YAML file or location address |
details |
General details of decision tree |
data_prob |
Branching probability data |
data_val |
Cost or health data |
... |
Additional arguments to be passed |
list of class costeffectiveness_object
1 2 3 4 5 | CEtree <- costeffectiveness_tree(yaml_tree = "raw data/LTBI_dtree-cost-distns.yaml")
print(CEtree)
CEtree$osNode <- calc.expectedValues(CEtree$osNode)
print(CEtree)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.