cea_create_dot_body: Writes each node information If it is a leaf node: show it in...

Description Usage Arguments

View source: R/cea_policy_tree.R

Description

Writes each node information If it is a leaf node: show it in different color, show number of samples, show leaf id If it is a non-leaf node: show its splitting variable and splitting value

Usage

1
2
3
4
5
cea_create_dot_body(
  tree,
  index = 1,
  group.names = c("Do not reimburse", "Reimburse")
)

Arguments

tree

the tree to convert

index

the index of the current node

group.names

names of the treatment and control states (defaults to c("Do not reimburse", "Reimburse"))


bonander/CEAforests documentation built on April 1, 2021, 10:57 a.m.