Description Usage Arguments See Also
View source: R/baseliner.epiinfo.R
This function takes two data frames, including TB admission and laboratory programme data, uses a unique patient identifier, dates of treatment start and sample submission and sample results to calculate baseline culture or smear status. The function requires admission and laboratory data to have been prepared with the tbcleanr package and for the admission data to have class of either "epiinfo" or "koch6"
1 2 3 |
adm |
data frame containing TB admission data cleaned and allocated object class by tbcleanr package |
lab |
data frame containing TB laboratory data cleaned and allocated object class by tbcleanr package |
baseline_test |
string to define which baseline test result to check |
baseline_days |
number of days prior to treatment start to define baseline acceptable period |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.