Description Usage Arguments Value Examples
Probability function, distribution function, quantile function and random generation for the Piecewise Exponential (PE) distribution.
1 2 3 4 5 6 7 |
x |
vector of time points. |
tgrid |
vector of time grid knots. |
rates |
vector of failure rates. |
log, log.p |
logical; if TRUE, probabilities p are given as log(p). |
q |
vector of quantiles. |
lower.tail |
logical; if TRUE (default), probabilities are P[X ≤ x]; otherwise, P[X > x]. |
p |
vector of probabilities. |
n |
number of random values to return. |
dpexp gives the (log) probability function, ppexp gives the (log) distribution function, qpexp gives the quantile function, and rpexp generates random deviates.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.