rpwexp | R Documentation |
rpwexp
generates n
independent, identically distributed event times under
a piecewise exponential model.
rpwexp(n, rate = 1, intervals = NULL, cumulative = FALSE)
n |
Number of observations. If length(n) > 1, the length is taken to be the number required. |
rate |
Vector containing exponential failure rates in intervals described by
|
intervals |
Vector containing positive values indicating interval lengths where
the exponential rates provided in |
cumulative |
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.