plotly_duane {WeibullR.plotly} | R Documentation |
Interactive Duane Plot.
plotly_duane(
duane_obj,
showGrid = TRUE,
main = "Duane Plot",
xlab = "Cumulative Time",
ylab = "Cumulative MTBF",
pointCol = "black",
fitCol = "black",
gridCol = "lightgray"
)
duane_obj |
An object of class 'duane'. |
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. |
gridCol |
Color of the grid. |
The function returns no value.
library(ReliaGrowR)
times<-c(100, 200, 300, 400, 500)
failures<-c(1, 2, 1, 3, 2)
fit<-duane_plot(times, failures)
plotly_duane(fit)