# NOT RUN {
# 1. Simplified example for illustration
# }
# NOT RUN {
library(CoxBoost)
a <- function(){
# some calculation
}
b<-function(){
# some other calculation
x <- cv.CoxBoost()
# z is global variable
y <- a(z)
}
# list with packages, functions and variables required for b:
extract.fun(list(b))
# 2. As called by default in peperr example
extract.fun(list(fit.CoxBoost, aggregation.pmpec))
# }
Run the code above in your browser using DataLab