darwin-eu-dev / DrugUtilisation

https://darwin-eu-dev.github.io/DrugUtilisation/
Apache License 2.0
4 stars 1 forks source link

addTimeToExposure() #484

Closed catalamarti closed 3 months ago

catalamarti commented 3 months ago
addTimeToExposure <- function(cohort,
                              conceptSet,
                              indexDate = "cohort_start_date",
                              censorDate = "cohort_end_date",
                              restrictIncident = TRUE,
                              nameStyle = "time_to_exposure_{concept_name}",
                              name = NULL)