surv_prob | R Documentation |
Generate survival probabilities for a survival distribution at the specified times.
surv_prob(x, time, ...)
eval_surv(x, time, ...)
compute_surv(x, time, cycle_length = 1, type = "prob", ...)
x |
A |
time |
A numeric vector of times |
... |
additional arguments passed to methods |
A numeric vector of survival probabilities
dist1 <- define_surv_param('exp', rate = 0.12)
surv_prob(dist1, c(0, 1, 2, 3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.