| overlay_rga | R Documentation |
Plots multiple fitted rga objects on a single set of axes, using
distinct colors per model. Observed data points, fitted lines, and optional
confidence bounds are drawn for every model. Models may have been fit to
different datasets.
overlay_rga(
models,
conf_bounds = TRUE,
legend = TRUE,
legend_pos = "bottomright",
colors = NULL,
log = FALSE,
...
)
models |
A named or unnamed list of objects of class |
conf_bounds |
Logical; draw confidence bounds for each model
(default: |
legend |
Logical; draw a legend (default: |
legend_pos |
Legend position keyword (default: |
colors |
Optional character vector of colors, one per model. If
|
log |
Logical; use log-log axes (default: |
... |
Additional arguments passed to the initial |
Invisibly returns NULL.
Other Reliability Growth Analysis:
plot.rga(),
plot.rga_predict(),
predict_rga(),
print.rga(),
print.rga_predict(),
rga()
t1 <- c(100, 200, 300, 400, 500)
f1 <- c(1, 2, 1, 3, 2)
t2 <- c(150, 300, 450, 600, 750)
f2 <- c(2, 1, 3, 2, 4)
m1 <- rga(t1, f1)
m2 <- rga(t2, f2)
overlay_rga(list(System_A = m1, System_B = m2),
main = "RGA Overlay", xlab = "Cumulative Time",
ylab = "Cumulative Failures"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.