Calculates performance by period from a given data set and target stock
calc_shortfall.RdCalculates performance by period from a given data set and target stock
Arguments
- incompletes_data
tibble; requires column headers of "period", "months_waited_id" and "value", where value is the count of incomplete pathways by period and the number of months the patients have waited
- target_bin
integer; the number of months waited where patients that have waited for greater or equal to that number of months have breached performance
- target_performance
numeric of length 1; must be between 0 and 1. The value is the number of patients on the waiting list that have waited for less than the `target_bin` time, as a proportion of the total waiting list