runDynamic {htetree}R Documentation

Visualize Causal Tree and Treatment Effects via Shiny

Description

Visualize Causal Tree and Treatment Effects via Shiny

Usage

runDynamic(
  model,
  data,
  outcomevariable,
  treatment_indicator,
  propensity_score = ""
)

Arguments

model

a tree model constructed by hte_causalTree, hte_matchinleaves, or hte_ipw.

data

a data frame containing the variables in the model.

outcomevariable

a character representing the column name of the outcome variable.

treatment_indicator

a character representing the column name for the treatment variable in the causal setup.

propensity_score

a character representing the column name of the propensity score.

Value

a Shiny page.


[Package htetree version 0.1.18 Index]