The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

WeibullR.plotly

CRAN status Lifecycle: experimental DOI

Build interactive Weibull Probability Plots with WeibullR, an R package for Weibull analysis, and plotly, an interactive web-based graphing library.

Getting Started

To install WeibullR.plotly in R:

install.packages('WeibullR.plotly')

Or install the development version:

devtools::install_github('paulgovan/weibullr.plotly')

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(WeibullR.plotly)
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

WeibullR.plotly 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 WeibullR.plotly project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

More Resources

For an interactive introduction to Life Data Analysis, check out WeibullR.learnr

To try WeibullR.plotly in a Shiny app, check out WeibullR.shiny

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.