powered by
Discrete Weibull distribution
d_weibull(scale, shape, dist_init = FALSE)
a Distribution object for simulator
scale parameter of a Weibull distribution
shape parameter of a Weibull distribution
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_weibull(0.6, 2)) transitions <- denim_dsl({ I -> D = d_weibull(0.6, 2) })
Run the code above in your browser using DataLab