View source: R/proportionDaysCovered.R
calculateAdherences | R Documentation |
Controls the adherence calculation for the whole treatment table
calculateAdherences(treatmentTable, startDates, endDates, refillPeriod)
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 |
adherences for the entire treatment table as a data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.