# NOT RUN {
# Load the data to be used
data(prca)
dat = prca
## 9. stepp Plot -----------------------------------------------------------
lab.y.title = paste("Treatment effect size (log-hazard ratio)");
setup.ss = c(30,40)
sub.title = paste0("(Subgroup sample sizes are set to ", setup.ss[2],
"; overlap sizes are set to ", setup.ss[1], ")" )
ggplot_stepp(dat,
covari.sel = 8,
trt.sel = 3,
resp.sel = c(1, 2),
outcome.type = "survival",
setup.ss = c(30,40),
alpha = 0.05,
title = NULL,
lab.y = lab.y.title,
subtitle = sub.title)
# }
Run the code above in your browser using DataLab