Binary Treatment

In this example, we will illustrate how to deal with binary treatment when using CausalEGM.

library(RcausalEGM)
if (!(reticulate::py_module_available('CausalEGM'))){
  cat("## Please install the CausalEGM package using the function: install_causalegm()")
  knitr::knit_exit()
}
#> ## Please install the CausalEGM package using the function: install_causalegm()