construct_assay_result_interpreter: Construct an assay result interpretation function

Description Usage Arguments

View source: R/result_interpretation.R

Description

Given the dynamics of an assay and a result with a date (in days since 1970-01-01), produce a function that when evaluated for a potential exposure date (in days since 1970-01-01) will produce the probability of observing the given result at the relevant sample date. This function will only take x as input, which is the potential exposure date (in days since 1970-01-01), and will already have the particulars of the result and assay loaded into it.

Usage

1
construct_assay_result_interpreter(assay_dynamics, result, sample_date)

Arguments

assay_dynamics

A list providing the assay_dynamics, (TODO: elaborate)

result

The result of the test. Either '+' or '-'.

sample_date

The date (in days since 1970-01-01) on which the sample was drawn.


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