Skip to contents

Interactive Probability Plot.

Usage

plotly_wblr(
  wblr_obj,
  susp = NULL,
  showConf = TRUE,
  showSusp = TRUE,
  showRes = TRUE,
  showGrid = TRUE,
  main = "Probability Plot",
  xlab = "Time to Failure",
  ylab = "Probability",
  probCol = "black",
  fitCol = "black",
  confCol = "black",
  intCol = "black",
  gridCol = "lightgray",
  signif = 3
)

Arguments

wblr_obj

An object of class 'wblr'.

susp

An optional numeric vector of suspension data.

showConf

Show the confidence bounds (TRUE) or not (FALSE).

showSusp

Show the suspensions plot (TRUE) or not (FALSE).

showRes

Show the results table (TRUE) or not (FALSE).

showGrid

Show grid (TRUE) or hide grid (FALSE).

main

Main title.

xlab

X-axis label.

ylab

Y-axis label.

probCol

Color of the probability values.

fitCol

Color of the model fit.

confCol

Color of the confidence bounds.

intCol

Color of the intervals for interval censored models.

gridCol

Color of the grid.

signif

Significant digits of results

Value

The function returns no value.

Examples

library(WeibullR)
library(WeibullR.plotly)
failures<-c(30, 49, 82, 90, 96)
obj<-wblr.conf(wblr.fit(wblr(failures)))
plotly_wblr(obj)