d_exponential | R Documentation |
Discrete exponential distribution
d_exponential(rate, dist_init = FALSE)
rate |
rate parameter of an exponential distribution |
dist_init |
whether to distribute initial value across subcompartments following this distribution. (default to FALSE, meaning init value is always in the first compartment) |
a Distribution object for simulator
transitions <- list("I -> D" = d_exponential(0.3))
transitions <- denim_dsl({I -> D = d_exponential(0.3)})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.