R/positivity_adjustment.R
decrease_cases.Rd
Decreased previous observed cases back to scale
decrease_cases(calculated_cases, pos_rate, m = 10.83, k = 0.5)
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4809590/
numeric, the calculated cases
numeric, the observed positivity rate
scaling factor
scaling factor with default of 1/2 on range [0,1]