Skip to contents

Mean Time Between Failures (MTBF).

Usage

mtbf(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 MTBF for a given period.

Examples

fail <- 5
total <- 1000
mtbf(fail, total)
#> [1] 200