Create a parameter object for the createSccsIntervalData() function
Source: R/SettingsObjects.R
createCreateSccsIntervalDataArgs.RdCreate a parameter object for the createSccsIntervalData() function
Usage
createCreateSccsIntervalDataArgs(
eraCovariateSettings,
ageCovariateSettings = NULL,
seasonalityCovariateSettings = NULL,
calendarTimeCovariateSettings = NULL,
minCasesForTimeCovariates = 10000,
endOfObservationEraLength = 30,
eventDependentObservation = FALSE
)Arguments
- eraCovariateSettings
Either an object of type
EraCovariateSettingsas created using thecreateEraCovariateSettings()function, or a list of such objects.- ageCovariateSettings
An object of type
AgeCovariateSettingsas created using thecreateAgeCovariateSettings()function.- seasonalityCovariateSettings
An object of type
SeasonalityCovariateSettingsas created using thecreateSeasonalityCovariateSettings()function.- calendarTimeCovariateSettings
An object of type
CalendarTimeCovariateSettingsas created using thecreateCalendarTimeCovariateSettings()function.- minCasesForTimeCovariates
Minimum number of cases to use to fit age, season and calendar time splines. If needed (and available), cases that are not exposed will be included.
- endOfObservationEraLength
Length in days of the probe that is inserted at the end of a patient's observation time. This probe will be used to test whether there is event- dependent observation end. Set to 0 to not include the probe.
- eventDependentObservation
Should the extension proposed by Farrington et al. be used to adjust for event-dependent observation time?