powered by
Discrete log-normal distribution
d_lognormal(mu, sigma, dist_init = FALSE)
a Distribution object for simulator
location parameter or the ln mean
scale parameter or ln standard deviation
whether to distribute initial value across subcompartments following this distribution. (default to FALSE, meaning init value is always in the first compartment)
transitions <- list("I -> D" = d_lognormal(3, 0.6)) transitions <- denim_dsl({I -> D = d_lognormal(3, 0.6)})
Run the code above in your browser using DataLab