Interactive Reliability Probability Plots

Build interactive Reliability Probability Plots with 'plotly' by Carson Sievert (2020) < https://plotly.com/r/>, an interactive web-based graphing library.


ReliaPlotR

Project Status: Active – The project has reached a stable, usablestate and is being activelydeveloped. CRANstatus R-CMD-check Codecov testcoverage

Build interactive Reliability Probability Plots with plotly, an interactive web-based graphing library.

Getting Started

To install ReliaPlotR in R:

install.packages("ReliaPlotR")

Or install the development version:

devtools::install_github("paulgovan/ReliaPlotR")

Basic Examples

To build a probability plot, first fit a wblr object using the WeibullR package and then use plotly_wblr to build the plot.

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

To build a contour plot, use the plotly_contour function. Note that contour plots are only available where method.fit='mle' and method.conf='lrb'.

obj <- wblr.conf(wblr.fit(wblr(failures), method.fit = "mle"), method.conf = "lrb")
plotly_contour(obj)

Customization

ReliaPlotR has several customization options.

plotly_wblr(obj, main = "Weibull Probability Plot", xlab = "Years", ylab = "Failure Probability", confCol = "blue", signif = 4, grid = FALSE)

plotly_contour(obj, main = "Weibull Contour Plot", col = "red", signif = 4, grid = FALSE)

Code of Conduct

Please note that the ReliaPlotR project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("ReliaPlotR")

0.7 by Paul Govan, 5 months ago


https://paulgovan.github.io/ReliaPlotR/, https://github.com/paulgovan/ReliaPlotR


Report a bug at https://github.com/paulgovan/ReliaPlotR/issues


Browse source code at https://github.com/cran/ReliaPlotR


Authors: Paul Govan [aut, cre, cph] (ORCID:


Documentation:   PDF Manual  


Apache License license


Imports plotly, ReliaGrowR, WeibullR, WeibullR.ALT

Suggests ellmer, jsonlite, knitr, mcptools, rmarkdown, spelling, testthat


Imported by ReliaShiny.

Suggested by ReliaLearnR.


See at CRAN