plot_rga | R Documentation |
Plotting Function for Reliability Growth Analysis
plot_rga(
rga_obj,
point_col = "black",
line_col = "black",
xlab = "Cumulative Time",
ylab = "Cumulative Failures",
main = "Reliability Growth Analysis"
)
rga_obj |
An object of class |
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"). |
The function does not return a value.
times <- c(100, 200, 300, 400, 500)
failures <- c(1, 2, 1, 3, 2)
result <- rga(times, failures)
plot_rga(result)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.