get_fnr.Rd
Get test false negative rate x days from crossing the threshold of detection
get_fnr(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_fnr(1)#> [1] 0.6980226