View source: R/CovariateSettings.R
createControlIntervalSettings | R Documentation |
Create control interval settings
createControlIntervalSettings(
includeEraIds = NULL,
excludeEraIds = NULL,
start = 0,
startAnchor = "era start",
end = 0,
endAnchor = "era end",
firstOccurrenceOnly = FALSE
)
includeEraIds |
One or more IDs of variables in the SccsData object that should be used to construct this covariate. If no IDs are specified, all variables will be used. |
excludeEraIds |
One or more IDs of variables in the [SccsData] object that should not be used to construct this covariate. |
start |
The start of the control interval (in days) relative to the |
startAnchor |
The anchor point for the start of the control interval. Can be |
end |
The end of the control interval (in days) relative to the |
endAnchor |
The anchor point for the end of the control interval. Can be |
firstOccurrenceOnly |
Should only the first occurrence of the exposure be used? |
Create an object specifying how to create a control interval for the self-controlled risk interval (SCRI) design.
An object of type ControlSettings
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.