Skip to contents

This function is used to calculate reliability function.

Usage

Reliability(
  t = 100,
  threshold = 150,
  par = NULL,
  process = "Wiener",
  type = "classical",
  s = NULL,
  rel = NULL
)

Arguments

t

time.

threshold

threshold of a degradation path.

par

parameters of a certain model.

process

Wiener, Gamma or Inverse Gaussian process.

type

classical in default.

s

stress.

rel

relationship.

Value

Return a list containing RUL at different time points for each group.

Examples

reb <- Reliability(
  t = 40, threshold = 100, par = c(1, 2),
  process = "Wiener", type = "classical"
)
reb
#> [1] 0.9999985