# This example will take a minute to run.
# \donttest{
data(exp_data)
set.seed(1)
results <- cdgd0_ml(
Y="outcome",
D="treatment",
G="group_a",
X=c("Q","confounder"),
data=exp_data,
algorithm="gbm")
results[[1]]# }
Run the code above in your browser using DataLab