# NOT RUN {
## Requires prior installation of suggested package gbm to run
library(survival)
res <- resample(Surv(time, status) ~ ., data = veteran, model = GBMModel,
control = CVControl(times = c(90, 180, 360)))
cal <- calibration(res)
plot(cal)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab