createGetExposureStatusArgs: Create a parameter object for the function getExposureStatus

Description Usage Arguments Details

View source: R/CreateArgFunctions.R

Description

Create a parameter object for the function getExposureStatus

Usage

1
2
3
4
5
6
createGetExposureStatusArgs(
  firstExposureOnly = FALSE,
  riskWindowStart = -30,
  riskWindowEnd = 0,
  controlWindowOffsets = c(-60)
)

Arguments

firstExposureOnly

Should only the first exposure per subject be included?

riskWindowStart

The start of the risk window (in days) relative to the index date. This number should be non-positive.

riskWindowEnd

The end of the risk window (in days) relative to the index date. This number should be non-positive.

controlWindowOffsets

Offsets in days of the control windows relative to the case window.

Details

Create an object defining the parameter values.


OHDSI/CaseCrossover documentation built on Nov. 21, 2020, 7:03 a.m.