R/CreateArgFunctions.R
createCreateSccsIntervalDataArgs.Rd
Create a parameter object for the function createSccsIntervalData
createCreateSccsIntervalDataArgs( naivePeriod = 0, firstOutcomeOnly = FALSE, covariateSettings, ageSettings = createAgeSettings(includeAge = FALSE), seasonalitySettings = createSeasonalitySettings(includeSeasonality = FALSE), minCasesForAgeSeason = 10000, eventDependentObservation = FALSE )
naivePeriod | The number of days at the start of a patient's observation periodthat should not be included in the risk calculations. Note thatthe naive period can be used to determine current covariatestatus right after the naive period, and whether an outcome isthe first one. |
---|---|
firstOutcomeOnly | Whether only the first occurrence of an outcome should beconsidered. |
covariateSettings | Either an object of type covariateSettings as createdusing the createCovariateSettings function, or alist of such objects. |
ageSettings | An object of type ageSettings as created using thecreateAgeSettings function. |
seasonalitySettings | An object of type seasonalitySettings as created using thecreateSeasonalitySettings function. |
minCasesForAgeSeason | Minimum number of cases to use to fit age and season splines. IFneeded (and available), cases that are not exposed will be included.#' |
eventDependentObservation | Should the extension proposed by Farrington et al. be used toadjust for event-dependent observation time? |
Create an object defining the parameter values.