Random draws from Erlang distribution scaled by time step size.

make_rerlang(mu, dt, shape = 2, shift = 0L)

Arguments

mu

Mean duration

dt

Size of time step

shape

Shape parameter of Erlang distribution

shift

number of time steps to add to sampled value