get_sensitivity: Get test sensitivity x days from crossing the threshold of...

Description Usage Arguments Examples

View source: R/get_sensitivity.R

Description

Get test sensitivity x days from crossing the threshold of detection

Usage

1
get_sensitivity(time, shape = 2.33, rate = 0.24, max_sensitivity = 0.99)

Arguments

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.

Examples

1

LucyMcGowan/covidsens documentation built on Jan. 19, 2021, 7:21 p.m.