Description Usage Arguments Value Author(s) See Also
View source: R/adm_lab_generator.R
Designed to generate additional variables from within the merged TB admission and laboratory data file. Baseline DST, culture conversion dates and baseline smear and culture are generated and outputed with the id number of the data set.
1 | adm_lab_generator(adm, lab, baseline_days = 90)
|
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_days |
criteria for using pre-treatment samples |
admission data frame with additional generated variables for baseline smear and culture status, and smear and culture conversion date.
Jay Achar
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.