mttf: Mean Time To Failure (MTTF).

View source: R/mtbf.R

mttfR Documentation

Mean Time To Failure (MTTF).

Description

Mean Time To Failure (MTTF).

Usage

mttf(failures, totalTime)

Arguments

failures

Failures. A numeric value representing the number of failures for a given period.

totalTime

Total Time. A numeric value representing the total time for a given period or a numeric vector of time periods

Value

The function returns a numeric value representing the MTTF for a given period.

Examples

fail <- 5
total <- 1000
mttf(fail, total)

WeibullR.learnr documentation built on Sept. 11, 2024, 9:08 p.m.