process_eamd {oncmap} | R Documentation |
Process input file and return adherence report
Description
Process input file and return adherence report
Usage
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
)
Arguments
infile |
Input CSV file name |
include_formats |
Which formats to include in checking |
exclude_formats |
Which formats to exclude from checking |
formats_def |
New formats definition |
infile_data_output |
Include infile data frame in the result |
regimen |
Regimen - regimen definition |
patinfo |
Patient info - patient specific information |
nonmonit |
Non-monitored date intervals |
med |
Medication name |
adhstart |
Report adherence start date |
adhend |
Report adherence end date |
Value
A list containing variables:
-
report
- Per period adherence statistic -
adh
- Summary adherence statistic
Examples
input_file <- system.file('extdata', 'sample-data-ecap2.csv', package = 'oncmap')
report <- process_eamd("tests/testthat/ecap1.csv")
[Package oncmap version 0.1.7 Index]