powered by
Process input file and return adherence report
process_eamd( infile, include_formats = NULL, exclude_formats = NULL, formats_def = NULL, infile_data_output = FALSE, regimen = NULL, patinfo = NULL, nonmonit = NULL, med = "", adhstart = NULL, adhend = NULL )
A list containing variables:
report - Per period adherence statistic
report
adh - Summary adherence statistic
adh
Input CSV file name
Which formats to include in checking
Which formats to exclude from checking
New formats definition
Include infile data frame in the result
Regimen - regimen definition
Patient info - patient specific information
Non-monitored date intervals
Medication name
Report adherence start date
Report adherence end date
input_file <- system.file('extdata', 'sample-data-ecap2.csv', package = 'oncmap') report <- process_eamd("tests/testthat/ecap1.csv")
Run the code above in your browser using DataLab