Learn R Programming

AdequacyModel (version 2.0.0)

TTT: TTT function

Description

There are several behaviors that the failure rate function of a random variable T can take. In this context, the graph of total test time (TTT curve) proposed by Aarset (1987) may be used for obtaining empirical behavior of the function failure rate.

Usage

TTT(x, lwd = 2, lty = 2, col = "black", grid = TRUE,...)

Arguments

x
Data vector;
lwd
Thickness of the TTT curve. The argument lwd must be a nonnegative real number;
lty
The argument lty modifies the style of the diagonal line chart TTT. Possible values are: 0 [blank], 1 [solid (default)], 2 [dashed], three [dotted], 4 [dotdash], 5 [longdash], 6 [twodash];
col
Color used in the TTT curve;
grid
If grid = FALSE graphic appears without the grid;
...
Other arguments passed by the user and available for the function plot. More details in par.

References

Aarset, M. V. (1987). How to identify bathtub hazard rate. IEEE Transactions Reliability, 36, 106-108.

Examples

Run this code
data(carbone)
TTT(carbone, col = "red", lwd = 2.5, grid = TRUE, lty = 2)

Run the code above in your browser using DataLab