rga: Reliability Growth Analysis.

View source: R/rga.R

rgaR Documentation

Reliability Growth Analysis.

Description

Reliability Growth Analysis.

Usage

rga(
  times,
  failures,
  model_type = "Crow-AMSAA",
  breakpoints = NULL,
  conf_level = 0.95
)

Arguments

times

A vector of cumulative times at which failures occurred.

failures

A vector of the number of failures at each corresponding time in times.

model_type

The model type. Either Crow-AMSAA (default) or ⁠Piecewise Weibull NHPP⁠ with change point detection.

breakpoints

An optional vector of breakpoints for the ⁠Piecewise Weibull NHPP⁠ model.

conf_level

The desired confidence level, which defaults to 95%.

Value

The function returns an object of class rga that contains the results for the model.

Examples

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

ReliaGrowR documentation built on April 4, 2025, 1:06 a.m.