View source: R/SettingsObjects.R
createCreateSccsIntervalDataArgs | R Documentation |
createSccsIntervalData()
functionCreate a parameter object for the createSccsIntervalData()
function
createCreateSccsIntervalDataArgs(
eraCovariateSettings,
ageCovariateSettings = NULL,
seasonalityCovariateSettings = NULL,
calendarTimeCovariateSettings = NULL,
minCasesForTimeCovariates = 10000,
endOfObservationEraLength = 30,
eventDependentObservation = FALSE
)
eraCovariateSettings |
Either an object of type |
ageCovariateSettings |
An object of type |
seasonalityCovariateSettings |
An object of type |
calendarTimeCovariateSettings |
An object of type |
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? |
Create an object defining the parameter values.
An object of type CreateSccsIntervalDataArgs
.
Farrington, C. P., Anaya-Izquierdo, A., Whitaker, H. J., Hocine, M.N., Douglas, I., and Smeeth, L. (2011). Self-Controlled case series analysis with event-dependent observation periods. Journal of the American Statistical Association 106 (494), 417-426
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.