Description Usage Arguments Details Value
Provides various plots of fitted distribution
1 2 3 |
x |
a fitted_life_data object |
type |
type of plot desired. default to 'probability'. see details |
theme |
character indicating style. only 'base_r' and 'weibull++' are available. see details. |
line_par |
a list containing graphical parameters for lines |
point_par |
a list contianing graphical parameters for points |
Values for type input
probability | linearized scale plot. distribution specific. |
failure | probability of failure over time i.e. CDF |
reliability | reliability over time i.e. 1-CDF |
fitted probability density function | |
failure rate | fitted failure rate i.e. hazard function |
First 3 plots will included points corresponding to the median ranks of the failure data.
By convention, in linearized scales, the exponential distribution plots the reliability while Weibull plots the unreliability.
When theme = 'weibull++', the plots styling is automatically set to mirror Weibull++. By default, theme = 'base_r' and plots a very simple plot.
Graphical parameters can be passed when theme = 'base_r' but not for others. When passing graphical parameters, those for lines should be passed as a list in line_par. Those for points should be passed as a list in point_par. All others e.g., xlab, should be passed generically (...)
produces desired plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.