get_sensitivity.Rd
Get test sensitivity x days from crossing the threshold of detection
get_sensitivity(time, shape = 2.33, rate = 0.24, max_sensitivity = 0.99)
time | Numeric. Number of days from crossing the threshold of detection |
---|---|
shape | Numeric. Shape of the gamma distribution used to estimate test sensitivity. Default is 2.33 |
rate | Numeric. Rate of the gamma distribution used to estimate test sensitivity. Default is 0.24 |
max_sensitivity | Numeric. Value between 0 and 1 indicating the maximum sensitivity. Default is 0.99. |
get_sensitivity(1)#> [1] 0.3019774