Description Usage Arguments Value Examples
Generate sample from the piecewise constant hazard model
| 1 | rpch(n, cuts, alpha)
 | 
| n | sample size | 
| cuts | cuts defining the intervals in the piecewise constant hazard model | 
| alpha | values of the hazard (over each interval) in the piecewise constant hazard model | 
a matrix of dimension K * J
| 1 2 3 4 5 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.