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 failure rate (lambda) for a given period.
Examples
fail <- 75
total <- 5000
fr(fail, total)
#> [1] 0.015