Skip to contents

Discrete Weibull distribution

Usage

d_weibull(scale, shape, dist_init = FALSE)

Arguments

scale

scale parameter of a Weibull distribution

shape

shape parameter of a Weibull 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)

Value

a Distribution object for simulator

Examples

transitions <- list("I -> D" = d_weibull(0.6, 2))
transitions <- denim_dsl({ I -> D = d_weibull(0.6, 2) })