calculateAdherences: Controls the adherence calculation for the whole treatment...

View source: R/proportionDaysCovered.R

calculateAdherencesR Documentation

Controls the adherence calculation for the whole treatment table

Description

Controls the adherence calculation for the whole treatment table

Usage

calculateAdherences(treatmentTable, startDates, endDates, refillPeriod)

Arguments

treatmentTable

the complete treatment table matrix

startDates

a data frame containing the start dates of the study for each patient

endDates

a data frame containing the end dates of the study for each patient

refillPeriod

length of a prescription refill period in days

Value

adherences for the entire treatment table as a data frame


smm52/timeBlocks documentation built on Nov. 27, 2022, 3:54 a.m.