remove_strongly_dependent_results: Removes strongly dependent results at the same timepoint

Description Usage Arguments

View source: R/data_processing.R

Description

The construction of the aggregate curve assumes that the contributions from the different tests are independent. For some tests, for example fully reactive and indeterminate versions of the same test this assumption is strongly violated. To offset this, remove the least informative version of the in case that they give the same result.

Usage

1
2
3
4
5
remove_strongly_dependent_results(
  ihist,
  more_sensitive_test,
  less_sensitive_test
)

Arguments

ihist

The diagnostic history from which to remove such cases

more_sensitive_test

The test which detects infection faster. In case both are positive, this one will be removed.

less_sensitive_test

The test which detects infection slower. In case both are negative, this one will be removed.


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