weibulltools

Statistical methods and visualizations often used in reliability engineering including the well-known weibull analysis and Monte Carlo simulations

https://github.com/tim-tu/weibulltools

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    2 of 3 committers (66.7%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (20.4%) to scientific vocabulary

Keywords

field-data-analysis interactive-visualizations plotly r reliability-analysis weibull-analysis weibulltools
Last synced: 6 months ago · JSON representation

Repository

Statistical methods and visualizations often used in reliability engineering including the well-known weibull analysis and Monte Carlo simulations

Basic Info
Statistics
  • Stars: 12
  • Watchers: 2
  • Forks: 4
  • Open Issues: 12
  • Releases: 1
Topics
field-data-analysis interactive-visualizations plotly r reliability-analysis weibull-analysis weibulltools
Created over 8 years ago · Last pushed almost 3 years ago
Metadata Files
Readme

README.Rmd

---
output: github_document
---



```{r, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)
options(tibble.print_min = 5, tibble.print_max = 5)
```

# weibulltools 


[![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html#stable)
[![CRAN status](https://www.r-pkg.org/badges/version/weibulltools)](https://CRAN.R-project.org/package=weibulltools)
[![R-CMD-check](https://github.com/Tim-TU/weibulltools/workflows/R-CMD-check/badge.svg)](https://github.com/Tim-TU/weibulltools/actions)


## Overview

The {weibulltools} package focuses on statistical methods and visualizations that are often used in reliability engineering. It provides a compact and easily accessible set of methods and visualization tools that make the examination and adjustment as well as the analysis and interpretation of field data (and bench tests) as simple as possible.  

Besides the well-known Weibull analysis, the package supports multiple lifetime distributions and also contains Monte Carlo methods for the correction and completion of imprecisely recorded or unknown lifetime characteristics.  

Plots are created statically {[ggplot2](https://ggplot2.tidyverse.org/)} or interactively {[plotly](https://plotly.com/r/)} and can be customized with functions of the respective visualization package.

## Installation

The latest released version of {weibulltools} from [CRAN](https://CRAN.R-project.org/package=weibulltools) can be installed with:

```{r, eval = FALSE}
install.packages("weibulltools")
```

### Development version
Install the development version of {weibulltools} from [GitHub](https://github.com/Tim-TU/weibulltools/) to use new features or to get a bug fix.

```{r, eval = FALSE}
# install.packages("devtools")
devtools::install_github("Tim-TU/weibulltools")
```

## Usage

### Getting started
Create consistent reliability data with columns:  

* `x` - lifetime characteristic  
* `status` - binary data (0 for censored units and 1 for failed units)
* `id` (optional) - identifier for units  

```{r, message = FALSE}
library(weibulltools)

rel_tbl <- reliability_data(data = shock, x = distance, status = status)
rel_tbl
```

### Probability estimation and visualization
Estimation of failure probabilities using different non-parametric methods: 

```{r, probability_estimation}
prob_tbl <- estimate_cdf(x = rel_tbl, methods = c("mr", "kaplan", "johnson", "nelson"))
prob_tbl
```

Visualization of the obtained results in a distribution-specific probability plot: 

```{r, probability_visualization}
prob_vis <- plot_prob(x = prob_tbl, distribution = "weibull", 
                      title_main = "Weibull Probability Plot", 
                      title_x = "Distance", 
                      title_y = "Probability of Failure in %", 
                      title_trace = "Methods",
                      plot_method = "gg")
prob_vis
```

### Model estimation and visualization
Parametric model estimation with respect to the used methods: 

```{r, model_estimation}
rr_list <- rank_regression(x = prob_tbl, distribution = "weibull")
rr_list
```

Model visualization in an existing probability plot:

```{r, model_visualization}
mod_vis <- plot_mod(p_obj = prob_vis, x = rr_list, distribution = "weibull", 
                    title_trace = "RR") 
mod_vis
```

## Getting help

If you notice a bug or have suggestions for improvements, please submit an issue with a minimal reproducible example on [GitHub](https://github.com/Tim-TU/weibulltools/issues). For further questions, please contact [Tim-Gunnar Hensel](mailto:tim-gunnar.hensel@tu-berlin.de). 

Owner

  • Name: Tim-Gunnar Hensel
  • Login: Tim-TU
  • Kind: user
  • Location: Berlin
  • Company: TU Berlin

GitHub Events

Total
Last Year

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 460
  • Total Committers: 3
  • Avg Commits per committer: 153.333
  • Development Distribution Score (DDS): 0.361
Past Year
  • Commits: 9
  • Committers: 1
  • Avg Commits per committer: 9.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
David Barkemeyer d****r@g****e 294
Tim-Gunnar Hensel t****l@t****e 150
Marina Baucks m****s@c****e 16
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 40
  • Total pull requests: 60
  • Average time to close issues: 19 days
  • Average time to close pull requests: about 12 hours
  • Total issue authors: 3
  • Total pull request authors: 2
  • Average comments per issue: 0.65
  • Average comments per pull request: 0.02
  • Merged pull requests: 59
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • DavidBarke (27)
  • Tim-TU (12)
  • sangwoo-statistics (1)
Pull Request Authors
  • DavidBarke (33)
  • Tim-TU (27)
Top Labels
Issue Labels
documentation (9) question (5) bug (5) enhancement (2)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 267 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 5
  • Total maintainers: 1
cran.r-project.org: weibulltools

Statistical Methods for Life Data Analysis

  • Versions: 5
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 267 Last month
Rankings
Stargazers count: 17.0%
Forks count: 17.8%
Average: 28.1%
Dependent packages count: 29.8%
Dependent repos count: 35.5%
Downloads: 40.3%
Last synced: 6 months ago

Dependencies

DESCRIPTION cran
  • R >= 3.5.0 depends
  • Rcpp * imports
  • dplyr * imports
  • ggplot2 * imports
  • lifecycle >= 1.0.0 imports
  • magrittr * imports
  • plotly * imports
  • purrr * imports
  • sandwich * imports
  • segmented * imports
  • tibble * imports
  • knitr * suggests
  • rmarkdown * suggests
  • testthat * suggests