Summarise proportion Of patients covered
Source:R/summariseProportionOfPatientsCovered.R
summariseProportionOfPatientsCovered.Rd
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.
Usage
summariseProportionOfPatientsCovered(
cohort,
cohortId = NULL,
strata = list(),
followUpDays = NULL
)
Arguments
- cohort
A cohort table
- cohortId
Cohort definition ID of interest. If NUll, results for all cohorts will be returned.
- strata
List of variables to stratify by.
- 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