| Type: | Package |
| Title: | Learning Modules for Reliability Analysis |
| Version: | 0.3 |
| URL: | https://paulgovan.github.io/ReliaLearnR/, https://github.com/paulgovan/ReliaLearnR |
| BugReports: | https://github.com/paulgovan/ReliaLearnR/issues |
| Description: | Learning modules for reliability analysis including modules for Reliability, Availability, and Maintainability (RAM) Analysis, Life Data Analysis, and Reliability Testing. |
| Imports: | learnr, ReliaGrowR, WeibullR, WeibullR.ALT |
| Suggests: | knitr, mockery, ReliaPlotR, ReliaShiny, rmarkdown, testthat (≥ 3.0.0) |
| License: | CC BY 4.0 |
| Encoding: | UTF-8 |
| RoxygenNote: | 7.3.3 |
| VignetteBuilder: | knitr |
| Config/testthat/edition: | 3 |
| NeedsCompilation: | no |
| Packaged: | 2025-12-20 04:04:34 UTC; paulgovan |
| Author: | Paul Govan |
| Maintainer: | Paul Govan <paul.govan2@gmail.com> |
| Repository: | CRAN |
| Date/Publication: | 2026-01-06 11:30:08 UTC |
ReliaLearnR: Learning Modules for Reliability Analysis
Description
Learning modules for reliability analysis including modules for Reliability, Availability, and Maintainability (RAM) Analysis, Life Data Analysis, and Reliability Testing.
Author(s)
Maintainer: Paul Govan paul.govan2@gmail.com (ORCID) [copyright holder]
See Also
Useful links:
Report bugs at https://github.com/paulgovan/ReliaLearnR/issues
Availability (1 - unavailability / total)
Description
Availability is the proportion of time a system is in a functioning condition. This function computes availability given unavailable times and total times.
Usage
avail(unavailTime, totalTime)
Arguments
unavailTime |
Numeric scalar or numeric vector of unavailable times. |
totalTime |
Numeric scalar or numeric vector of total times (same units as unavailTime). |
Value
Numeric scalar: availability for the period (between 0 and 1).
Examples
avail(100, 1000)
avail(c(5,10), c(500,600))
Failure rate (lambda)
Description
Failure rate is the frequency with which an engineered system or component fails, expressed in failures per unit of time. This function computes failure rate given failure counts and total operating times.
Usage
fr(failures, totalTime)
Arguments
failures |
Numeric scalar or numeric vector of failure counts (non-negative). |
totalTime |
Numeric scalar or numeric vector of total operating times. |
Value
Numeric scalar: failures per unit time (failures / totalTime).
Examples
fr(75, 5000)
fr(c(10,5), c(1000,2000))
Launch the Life Data Analysis Tutorial
Description
This function launches an interactive tutorial for life data analysis.
Usage
lda()
Value
This function does not return a value.
See Also
https://paulgovan.github.io/ReliaLearnR/
Examples
if (interactive()) {
lda()
}
Mean Time Between Failures (MTBF) for repairable items.
Description
MTBF = total operating time / number of failures. The MTBF is the expected time between consecutive failures. It is commonly used for repairable items. The behavior is the same as mttf here; keep separate name for semantic clarity.
Usage
mtbf(failures, totalTime)
Arguments
failures |
Numeric scalar or numeric vector of failure counts (non-negative). |
totalTime |
Numeric scalar or numeric vector of total operating times. |
Value
Numeric scalar: MTBF. If number of failures is zero, returns Inf (with a warning).
Examples
mtbf(5, 1000)
mtbf(c(2,3), c(500,500))
Mean Time To Failure (MTTF)
Description
For non-repairable items MTTF = total operating time / number of failures. The MTTF is the expected time to the first failure. It is commonly used for non-repairable items. The behavior implemented is the same as mtbf here; keep separate name for semantic clarity.
Usage
mttf(failures, totalTime)
Arguments
failures |
Numeric scalar or numeric vector of failure counts (non-negative). |
totalTime |
Numeric scalar or numeric vector of total operating times. |
Value
Numeric scalar: MTTF. If number of failures is zero, returns Inf (with a warning).
Examples
mttf(5, 1000)
mttf(c(2,3), c(500,500))
Launch the RAM Analysis Tutorial
Description
This function launches an interactive tutorial on Reliability, Availability, and Maintainability (RAM) analysis.
Usage
ram()
Value
This function does not return a value.
See Also
https://paulgovan.github.io/ReliaLearnR/
Examples
if (interactive()) {
ram()
}
Reliability (1 - outage / total)
Description
Reliability is the probability that an item will perform its intended function without failure over a specified period under stated conditions. This function computes reliability given outage times and total times.
Usage
rel(outageTime, totalTime)
Arguments
outageTime |
Numeric scalar or numeric vector of forced outage times. |
totalTime |
Numeric scalar or numeric vector of total times (same units as outageTime). |
Value
Numeric scalar: reliability for the period (between 0 and 1).
Examples
rel(100, 1000)
rel(c(10,20), c(500, 600))
Launch the Reliability Testing Tutorial
Description
This function launches the Reliability Testing tutorial
Usage
rt()
Value
This function does not return a value.
See Also
https://paulgovan.github.io/ReliaLearnR/
Examples
if (interactive()) {
rt()
}