Implemented the user-custom LoS distribution, as a discretised Gamma with an offset of 1 day to ensure no LoS = 0 (but requested mean is preserved).
Currently the input is conditional on a checkbox, and if provided generates a reactive element custom_los() returning a list with $r (los random number generator) and $d (PMF), both including the offset. custom_los() is NULL if corresponding input box is not checked.
This can be used, but how it is integrated in the simulations depends on whether we keep 2 analyses by default, or given a XOR choice (critical or non-critical).
Implemented the user-custom LoS distribution, as a discretised Gamma with an offset of 1 day to ensure no LoS = 0 (but requested mean is preserved).
Currently the input is conditional on a checkbox, and if provided generates a reactive element
custom_los()
returning a list with$r
(los random number generator) and$d
(PMF), both including the offset.custom_los()
isNULL
if corresponding input box is not checked.This can be used, but how it is integrated in the simulations depends on whether we keep 2 analyses by default, or given a XOR choice (critical or non-critical).