Description Usage Arguments Value Examples
Generate data from piecewise constant hazard
1 | rsurv(n, cuts, alpha)
|
n |
number of observations. A positive integer |
cuts |
cuts of the piecewise constant hazard |
alpha |
values of the piecewise constant hazard |
A sequence of observations of length n
generated from the
distribution given by cuts
and alpha
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.