decision_tree_cluster: Decision tree

Description Usage Arguments Value

View source: R/decision_tree_cluster.R

Description

Calculate decision tree expected costs and QALY loss for each simulation.

Usage

1
2
3
decision_tree_cluster(params, N.mc = 2,
  cost_dectree = "data/osNode_cost_2009.Rds",
  health_dectree = "data/osNode_health_2009.Rds", out_datatree = FALSE)

Arguments

params

an element of a scenario list with probabilities and costs to substitue into decision tree; long format array

N.mc

number of simulations; integer

cost_dectree

data.tree saved as Rds file names (string); default to package folder

health_dectree

data.tree saved as Rds file names (string); default to package folder

out_datatree

Output full datatree object? This may be large. Will also save to csv for checking; default: FALSE

Value

list


n8thangreen/ltbiScreenLite documentation built on May 28, 2020, 9:37 p.m.