Learn R Programming

oncmap (version 0.1.5)

report_adherence: Report standarized output of the adherence processing

Description

Report standarized output of the adherence processing

Usage

report_adherence(
  all_periods,
  timestamps,
  med,
  patinfo = list(),
  adhstart = NULL,
  adhend = NULL
)

Value

A list of output variables

  • report - Per period adherence statistic

  • adh - Summary adherence statistic

Arguments

all_periods

output of pre_adherence processing

timestamps

timestamps dataframe from pre_adherence to calculate times and diffs in the report

med

Medication name

patinfo

Patient info - patient specific information

adhstart

Report adherence start date

adhend

Report adherence end date