Description Usage Arguments Value
View source: R/plot_life_curve_multi_surv_reg.R
Plot life curve from best model
1 2 3 | plot_life_curve_multi_surv_reg(multi_surv_reg, pred_times = c(50, 100, 120,
150, 200) * 1000, conf_int = FALSE, aux_title = "", ylim = c(0, 1),
time_scale = 1000, best_model = 1)
|
aux_title: |
Complement to title |
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 |
conf_int: |
Add confidence interval if |
multi_surv_reg: |
List containing at least the alement "models" that has a list of |
pred_times: |
Prediction times. |
time_scale: |
a number to devide the time so it rescales and the legend looks better |
ylim: |
Y axis limits |
A ggplot RM life curve of the best model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.