| plot.rga_predict | R Documentation |
Plots observed data, the fitted reliability growth curve, and the forecast
with optional confidence bounds for an rga_predict object.
## S3 method for class 'rga_predict'
plot(x, conf_bounds = TRUE, legend = TRUE, legend_pos = "bottomright", ...)
x |
An object of class |
conf_bounds |
Logical; include confidence bounds (default: |
legend |
Logical; show the legend (default: |
legend_pos |
Position of the legend (default: |
... |
Additional arguments passed to |
Invisibly returns NULL.
Other Reliability Growth Analysis:
overlay_rga(),
plot.rga(),
predict_rga(),
print.rga(),
print.rga_predict(),
rga()
times <- c(100, 200, 300, 400, 500)
failures <- c(1, 2, 1, 3, 2)
fit <- rga(times, failures)
fc <- predict_rga(fit, times = c(1500, 2000))
plot(fc, main = "RGA Forecast", xlab = "Cumulative Time", ylab = "Cumulative Failures")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.