.predictive_survival | 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.