count_true_positive_tests: Count true positive tests.

Description Usage Arguments

View source: R/RcppExports.R

Description

This function counts the number of true positive tests conducted with and without antibioitics. We assume perfect specificity, so each positive test is a true positive test.

Usage

1
count_true_positive_tests(test_results_positive, antibiotics)

Arguments

test_results_positive

a matrix where each row corresponds to a patient and the entries correspond to a day with a positive test result.

antibiotics

a matrix where each row corresponds to a patient and the entries correspond to a day when antibiotics were administered.


mirjamlaager/mrsamcmc documentation built on May 20, 2020, 11:13 a.m.