plot_failure_prob_curve_overlap: Overlaped failure rate curves

Description Usage Arguments Value

View source: R/plot_failure_prob_curve_overlap.R

Description

Plot two or more failure rate curves on top of each other

Usage

1
2
3
4
plot_failure_prob_curve_overlap(models_groups,
  group_names = names(models_groups), title_aux = "",
  x_label = "Mileage(km)", y_label = "Failure Prob.", add_curves = TRUE,
  best_model = 1)

Arguments

x_label,

y_label: X and Y axis labels

add_curves:

if true, the distribution curves will be added

best_model:

The rank of model to be used in the plot or the name fo the distribution. If best_model = 2, the second best model will be used in the plot

group_names:

Names for the curves

models_groups:

A list of objects containing the element 'models' (which is a list of flexsurvreg')

title_aux:

complement to the title

Value

A ggplot of the plots overlaped.


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