Description Usage Arguments Value
Draws samples from a user specified conditional survival function
1 | draw_samples(n_samples = 10, distribution, t0 = 0, HR = 1, params)
|
n_samples |
Positive integer. The number of samples to draw from conditional survival function |
distribution |
Character vector. The name of the conditional distribution you want to sample from (FILL in options later) |
t0 |
Nonnegative real number. The time the survival function is
conditioned on. |
HR |
hazard ratio between treatment arm and control arm |
params |
named list of parameters for distribution |
a vector of conditional survival times from the specified distribution.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.