Numeric vector composed of 0 and 1, where value 1 will be used by pick_val_v to pick the corresponding index in its sens argument
Arguments
sens
current analysis iterator
n_sensitivity
total number of analyses to be run
elem
vector of 0s and 1s of elements to iterate through (1 = parameter is to be included in scenario/DSA)
n_elem_before
Sum of 1s (# of parameters to be included in scenario/DSA) that go before elem
Details
n_elem_before is to be used when several indicators want to be used (e.g., for patient level and common level inputs) while facilitating readibility of the code