predict_best_model_multi_surv_reg: Bulk best Model predict

Description Usage Arguments Value

View source: R/predict_best_model_multi_surv_reg.R

Description

Predicts the survival/reliability of the given times for the model on a multi_surv_reg list

Usage

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)

Arguments

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

Value

A data.frame with the predicted survival/reliability for range of life times (resulting from a multi_surv_reg())


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