Create waste flags created by the DHS and the CDC to warn of increasing cases
createWasteFlags(DF, windows = c(14, 30, 60, 90), quants = c(5:9)/10)
data frame with columns: site: Location of flag date: date of flag window: what window the quantile is from quant: what quantile the quantile is from cdc_flag: flag if the linear regression of the last 5 days estimates a total percent change from the start of the period to the end of above 100 flag_ntile: if there is a cdc flag and the measurement is above the last window days quant quantile flag_ntile_pval: if there is a flag_ntile and the p value of the regression is less then .3
Input data frame
what windows for the rolling quantile to use
what quantile for the rolling quantile to use