View source: R/data_processing.R
Given a diagnostic history and an ordered list of tests by window period, this function will return a restricted diagnostic history that only contains the most informative test results for each sample date. The most informative results are the test with the shortest window period that produced a negative result and the test with the longest window period that produced a positive result. The motivation for doing this is to ensure that the aggregate function is constructed using independent results.
1 | select_most_informative_results(ihist, fastest_to_slowest_tests = NULL)
|
ihist |
The diagnostic test history of the individual. |
fastest_to_slowest_tests |
A vector listing the tests in the order from the test with the shortest window period to the test with the longest window period. This ordering will be consulted in conjunction with the test result to decide which tests are the most informative. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.