View source: R/surv_function.r
define_surv_func | R Documentation |
Define survival distribution based on a function
define_surv_func(f, ...)
f |
a function that takes a vector of times and returns a vector of corresponding survival probabilities |
... |
additional arguments to be passed to f |
a surv_function
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.