Description Usage Arguments Value
View source: R/predict_best_model_multi_surv_reg.R
Predicts the survival/reliability of the given times for the model on a multi_surv_reg list
1 2 | predict_best_model_multi_surv_reg(multi_surv_reg, pred_times = c(50, 100, 120,
150, 200) * 1000, conf_int = FALSE, best_model = 1)
|
best_model: |
The rank of model to be used in the plot. If best_model = 2, the second best model will be used in the plot. Can be the name of the distribution of the model |
conf_int: |
if true then the confidence intervals will be calculated. |
multi_surv_reg: |
a named list containing at least the alement "models" that has a list of "flexsurvreg" models |
A data.frame
with the predicted survival/reliability for range of life times (resulting from a multi_surv_reg()
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.