Configure Removals Data Frame
initialise_removals.Rd
Constructs a data frame representing the configuration of removals, including time, renge rates, and potential services.
Arguments
- renege_params
numeric; proportion (0 ≤ rm ≤ 1) of waiting patients reneging in the m-th month of waiting, where r2 = 0.1 refers to 10% of those in the second month of waiting reneging.
- p1
numeric of length 1; the probability parameter for the geometric distribution (probability of failure in each period).
- mu
numeric of length 1; total capacity to be applied over the geometric distribution
Value
A data frame with columns: months_waited_id
, r
, and
service
. months_waited_id
is the lower bound of the
number of months waited. r
is the renege rate for each month
waited compartment. service
is the initial capacity provided,
applied across the compartments using the geometric distribution
defined by p1
.