data(data_example_landpred)
t0=2
tau = 8
out = Prob.Null(t0=t0,tau=tau,data=data_example_landpred)
#get data with predictions
data_pred = out$data
#calculate training AUC
AUC.landmark(t0=t0,tau=tau, data = data_pred[,c("XL","DL","prob_est")])
Run the code above in your browser using DataLab