linear_assay_dynamics: Linear Assay Dynamics

Description Usage Arguments Details

View source: R/assay_dynamics.R

Description

Returns the probability of testing positive x days after infection

Usage

1
linear_assay_dynamics(x, diagnostic_delay, spread = 1.5, abs_spread = NULL)

Arguments

x

The time since infection

diagnostic_delay

The number of days since infection after which time 50 percent of patients will test positive.

spread

The multiplier applied to the diagnostic_delay to obtain the length of window centered at diagnostic_delay days after infection during some patients will have different results.

abs_spread

The width of the range over which the probabilities are both not zero and not one. This range will be centered around the diagnostic_delay. Setting this will cause the function to ignore whatever was specified for spread. Defaults to NULL.

Details

A very simple scheme is used to compute these probabilities. Each assay is characterized by a diagnostic delay after which time 50 percent of patients will test positive. The assay also has a spread parameter. This parameter controls the window during which this probability is not 0 or 1. The default is 1.5 meaning that the period of time during which the assay result is not perfect is 50


philliplab/tsic documentation built on June 26, 2020, 7:55 p.m.