plotly_rga {WeibullR.plotly} | R Documentation |
Interactive Reliability Growth Plot.
Description
This function creates an interactive reliability growth plot for an rga object.
Usage
plotly_rga(
rga_obj,
showConf = TRUE,
showGrid = TRUE,
main = "Reliability Growth Plot",
xlab = "Cumulative Time",
ylab = "Cumulative Failures",
pointCol = "black",
fitCol = "black",
confCol = "black",
gridCol = "lightgray",
breakCol = "black"
)
Arguments
rga_obj |
An object of class 'rga'. |
showConf |
Show the confidence bounds (TRUE) or not (FALSE). |
showGrid |
Show grid (TRUE) or hide grid (FALSE). |
main |
Main title. |
xlab |
X-axis label. |
ylab |
Y-axis label. |
pointCol |
Color of the point values. |
fitCol |
Color of the model fit. |
confCol |
Color of the confidence bounds. |
gridCol |
Color of the grid. |
breakCol |
Color of the breakpoints. |
Value
The function returns no value.
Examples
library(ReliaGrowR)
times<-c(100, 200, 300, 400, 500)
failures<-c(1, 2, 1, 3, 2)
rga<-rga(times, failures)
plotly_rga(rga)
[Package WeibullR.plotly version 0.3.1 Index]