plot_life_curve_multi_surv_reg: Best Life curve

Description Usage Arguments Value

View source: R/plot_life_curve_multi_surv_reg.R

Description

Plot life curve from best model

Usage

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)

Arguments

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 TRUE

multi_surv_reg:

List containing at least the alement "models" that has a list of flexsurvreg models.

pred_times:

Prediction times.

time_scale:

a number to devide the time so it rescales and the legend looks better

ylim:

Y axis limits

Value

A ggplot RM life curve of the best model.


leonardommarques/reliabilitytools documentation built on Aug. 1, 2019, 8:03 p.m.