# NOT RUN {
data("cardSim")
results = LocalControl(data = cardSim,
outcomeType = "survival",
outcomeColName = "status",
timeColName = "time",
treatmentColName = "drug",
treatmentCode = 1,
clusterVars = c("age", "bmi"))
plot(results)
# }
Run the code above in your browser using DataLab