This function generates a plot for the results of a Reliability Growth Analysis (RGA).
Usage
plot_rga(
rga_obj,
point_col = "black",
line_col = "black",
xlab = "Cumulative Time",
ylab = "Cumulative Failures",
main = "Reliability Growth Analysis",
conf_bounds = TRUE,
legend = TRUE,
log = FALSE
)
Arguments
- rga_obj
An object of class
rga
, which contains the results from the RGA model.- point_col
Color for the data points (default: "black").
- line_col
Color for the fitted line (default: "black").
- xlab
Label for the x-axis (default: "Cumulative Time").
- ylab
Label for the y-axis (default: "Cumulative Failures").
- main
Title for the plot (default: "Reliability Growth Analysis").
- conf_bounds
Logical indicating whether to include confidence bounds (default: TRUE).
- legend
Logical indicating whether to show the legend (default: TRUE).
- log
Logical indicating whether to use a log-log scale (default: FALSE).