createCreateSccsIntervalDataArgs: Create a parameter object for the function...

View source: R/CreateArgFunctions.R

createCreateSccsIntervalDataArgsR Documentation

Create a parameter object for the function createSccsIntervalData

Description

Create a parameter object for the function createSccsIntervalData

Usage

createCreateSccsIntervalDataArgs(
  eraCovariateSettings,
  ageCovariateSettings = NULL,
  seasonalityCovariateSettings = NULL,
  calendarTimeCovariateSettings = NULL,
  minCasesForAgeSeason = NULL,
  minCasesForTimeCovariates = 10000,
  eventDependentObservation = FALSE
)

Arguments

eraCovariateSettings

Either an object of type EraCovariateSettings as created using the createEraCovariateSettings() function, or a list of such objects.

ageCovariateSettings

An object of type ageCovariateSettings as created using the createAgeCovariateSettings() function.

seasonalityCovariateSettings

An object of type seasonalityCovariateSettings as created using the createSeasonalityCovariateSettings() function.

calendarTimeCovariateSettings

An object of type calendarTimeCovariateSettings as created using the createCalendarTimeCovariateSettings() function.

minCasesForAgeSeason

DEPRECATED: Use minCasesForTimeCovariates instead.

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.

eventDependentObservation

Should the extension proposed by Farrington et al. be used to adjust for event-dependent observation time?

Details

Create an object defining the parameter values.


OHDSI/SelfControlledCaseSeries documentation built on Sept. 7, 2024, 8:24 a.m.