summariseProportionOfPatientsCovered: Summarise proportion Of patients covered
Description
Gives the proportion of patients still in observation who are
in the cohort on any given day following their first cohort entry. This is
known as the “proportion of patients covered” (PPC) method for assessing
treatment persistence.
A cohort definition id to restrict by. If NULL, all cohorts
will be included.
strata
A list of variables to stratify results. These variables
must have been added as additional columns in the cohort table.
followUpDays
Number of days to follow up individuals for. If NULL the
maximum amount of days from an individuals first cohort start date to their
last cohort end date will be used