.predictive_survival {BayesFBHborrow} | R Documentation |
Predictive survival from BayesFBHborrow object
.predictive_survival(grid_width, out_slam, x_pred, beta_samples)
grid_width |
size of time step |
out_slam |
samples from the smoothed baseline hazard |
x_pred |
set of predictors to be used for calculating the predictive survival |
beta_samples |
samples of the covariates |
matrix of the predictive survival