View source: R/CreateArgFuns.R
createGetPlpDataArgs | R Documentation |
Create a parameter object for the function getPlpData
createGetPlpDataArgs( studyStartDate = "", studyEndDate = "", firstExposureOnly = FALSE, washoutPeriod = 0, excludeDrugsFromCovariates = FALSE )
studyStartDate |
A calendar date specifying the minimum date that a cohort index date can appear. Date format is 'yyyymmdd'. |
studyEndDate |
A calendar date specifying the maximum date that a cohort index date can appear. Date format is 'yyyymmdd'. Important: the studyEnd data is also used to truncate risk windows, meaning no outcomes beyond the study end date will be considered. |
firstExposureOnly |
Should only the first exposure per subject be included? Note that this is typically done in the createStudyPopulation function, but can already be done here for efficiency reasons. |
washoutPeriod |
The mininum required continuous observation time prior to index date for a person to be included in the at risk cohort. Note that this is typically done in the createStudyPopulation function,but can already be done here for efficiency reasons. |
excludeDrugsFromCovariates |
A redundant option |
Create an object defining the parameter values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.