# NOT RUN {
data('alcohol')
require(survival)
coxtree <- coxph.tree(alcohol[,'time'], alcohol[,'event'],
x = alcohol[,'alc', drop = FALSE], D = 4)
nodetree <- output.coxphout(coxtree)
subtrees <- prune(nodetree)
#This function requires output from output.coxphout, prune, and the original data set.
store.mult.cont <- bootstrap(B=20, nodetree, subtrees, alcohol[,'time'],
alcohol[,'event'], x = alcohol[,'alc', drop = FALSE],
D=4,minfail=20, alphac=2)
# }
Run the code above in your browser using DataLab