run_cedectree: Run Cost-effectiveness Decision Tree

View source: R/run_cedectree.R

run_cedectreeR Documentation

Run Cost-effectiveness Decision Tree

Description

Wrapper for 'dectree()' for both costs and health value.

Usage

run_cedectree(
  dat_long,
  label_probs_distns = NULL,
  label_costs_distns = NULL,
  label_health_distns = NULL,
  state_list = NULL,
  n = 100
)

Arguments

dat_long

Long format data frame with from, to, prob, vals columns.

label_probs_distns

Probability distribution names

label_costs_distns

Cost distribution names

label_health_distns

Health value distribution names

state_list

State list sets, usually terminal nodes

n

Number of PSA samples; default 100

Value

List of cost, health 'dectree()' output

See Also

dectree


n8thangreen/CEdecisiontree documentation built on Sept. 13, 2022, 5:25 a.m.