This function computes the reliability function (CDF) based on a given model and parameters. It is designed to handle multiple models (M0, M1, M2, M3, M4) and computes the reliability over a specified range of time.
Arguments
- model
A character string indicating the model type. It can be one of "M0", "M1", "M2", "M3", "M4".
- par
A numeric vector of parameters used in the model. The length and meaning of the vector depend on the selected model.
- type
A character string indicating the type of distribution or function to use (e.g., "Gamma", "Weibull").
- t_ind
A numeric value indicating the time at which to evaluate the CDF.
- u_ind
A numeric value indicating the additional variable (e.g., uncertainty, user-defined parameter).
- D
A numeric value indicating a scale parameter, default is 300.
