MyNixOS website logo
Description

Reliability Growth Analysis and Repairable Systems Modeling.

Modeling and plotting functions for Reliability Growth Analysis (RGA) and Non-Homogeneous Poisson Process (NHPP) models for repairable systems. RGA models include the Duane (1962) <doi:10.1109/TA.1964.4319640>, NHPP by Crow (1975) (No. AMSAATR138), Piecewise Weibull NHPP by Guo et al. (2010) <doi:10.1109/RAMS.2010.5448029>, and Piecewise Weibull NHPP with Change Point Detection based on the 'segmented' package by Muggeo (2024) <https://cran.r-project.org/package=segmented>. Repairable systems functions include the Mean Cumulative Function (MCF) using the Nelson-Aalen estimator, parametric Power Law and Log-Linear NHPP models, and forecasting.

ReliaGrowR ReliaGrowR website

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

Introduction

Welcome to ReliaGrowR! This package provides modeling and plotting functions for Reliability Growth Analysis (RGA) and Repairable Systems Modeling, including:

Reliability Growth Analysis

  • Duane Analysis
  • Crow-AMSAA
  • Piecewise NHPP
  • Piecewise NHPP with Change Point Detection
  • Forecasting (Duane and Crow-AMSAA)
  • Goodness-of-Fit Testing (Cramér-von Mises, K-S)
  • Reliability Demonstration Test (RDT) Planning

Repairable Systems Modeling

  • Mean Cumulative Function (MCF)
  • Power Law NHPP
  • Log-Linear NHPP
  • Forecasting

AI Integration

  • MCP tools for AI assistants via rga_mcp_server()

RGA is focused on improving reliability during development and testing of products, while repairable systems modeling tracks recurrence patterns for fielded systems that can be repaired and returned to service. By analyzing failure data, both approaches help engineers and researchers identify trends, estimate reliability parameters, and support decision-making over time.

To learn more about RGA, please view the RGA vignette. For repairable systems modeling, see the RSA vignette. For test planning, see the RDT vignette. For AI integration, see the MCP vignette.

Installation

To install the release version of ReliaGrowR, use:

install_packages('ReliaGrowR')

You can install the development version of ReliaGrowR like so:

devtools::install_github('paulgovan/ReliaGrowR')

Example

Here is a basic example of Reliability Growth Analysis. First, load the package.

library(ReliaGrowR)

Next, suppose a machine has failed at the following times with the corresponding number of failures.

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

To perform RGA, use the rga function and plot the results. The plot displays the cumulative failures over time along with the fitted reliability growth model.

result <- rga(times, failures)
plot(result, main = "Reliability Growth Analysis", xlab = "Cumulative Time", ylab = "Cumulative Failures")

AI Integration via MCP

ReliaGrowR can expose its analysis functions as Model Context Protocol (MCP) tools so AI assistants like Claude can call them directly. First install the required packages:

install.packages(c("mcptools", "ellmer"))

Then add the server to Claude Code:

claude mcp add -s user reliagrowR -- Rscript -e "ReliaGrowR::rga_mcp_server()"

Once configured, you can ask Claude to fit models, run forecasts, plan demonstration tests, and more — all without writing any R code yourself. See the MCP vignette for full setup instructions.

Code of Conduct

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

Metadata

Version

0.7

License

Unknown

Platforms (80)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    uefi
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-freebsd
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64-uefi
  • aarch64-windows
  • aarch64_be-none
  • arc-linux
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-linux
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • sh4-linux
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-uefi
  • x86_64-windows