Description Usage Arguments Details
View source: R/CreateArgFunctions.R
Create a parameter object for the function getDbCaseCrossoverData
1 2 3 4 5 6 7 8 9 10 | createGetDbCaseCrossoverDataArgs(
useNestingCohort = FALSE,
useObservationEndAsNestingEndDate = TRUE,
getVisits = FALSE,
studyStartDate = "",
studyEndDate = "",
getTimeControlData = FALSE,
maxNestingCohortSize = 1e+07,
maxCasesPerOutcome = 5e+05
)
|
useNestingCohort |
Should the study be nested in a cohort (e.g. people with a specific indication)? If not, the study will be nested in the general population. |
useObservationEndAsNestingEndDate |
When using a nesting cohort, should the observation period end date be used instead of the cohort end date? |
getVisits |
Get data on visits? This is needed when performing a time- case-control study and matching on visit date is requested later on. |
studyStartDate |
A calendar date specifying the minimum date where data is used. Date format is 'yyyymmdd'. |
studyEndDate |
A calendar date specifying the maximum date where data is used. Date format is 'yyyymmdd'. |
getTimeControlData |
Should data for time controls be fetched? (needed for case-time-control analyses). |
maxNestingCohortSize |
If the nesting cohort is larger than this number it will be sampled to this size. maxCohortSize = 0 indicates no maximum size. (needed for case-time-control analyses). |
maxCasesPerOutcome |
If there are more than this number of cases for a single outcome cases will be sampled to this size. maxCasesPerOutcome = 0 indicates no maximum size. |
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.