Skip to contents

Interactive Duane Plot.

Usage

plotly_duane(
  duane_obj,
  showGrid = TRUE,
  main = "Duane Plot",
  xlab = "Cumulative Time",
  ylab = "Cumulative MTBF",
  pointCol = "black",
  fitCol = "black",
  gridCol = "lightgray"
)

Arguments

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.

Value

The function returns no value.

Examples

library(ReliaGrowR)
times<-c(100, 200, 300, 400, 500)
failures<-c(1, 2, 1, 3, 2)
fit<-duane_plot(times, failures)

plotly_duane(fit)