createPriorExposureCovariateSettings: Create settings for adding prior exposures as covariates

Description Usage Arguments Details Value

View source: R/PrioExposureCovariateBuilder.R

Description

Create settings for adding prior exposures as covariates

Usage

1
2
3
createPriorExposureCovariateSettings(cohortDatabaseSchema = "unknown",
  exposureEraTable = "unknown", windowStart = -999, windowEnd = -1,
  analysisId = 999)

Arguments

cohortDatabaseSchema

The name of the database schema that is the location where the data used to define the exposure cohorts is available.

exposureEraTable

The tablename that contains the exposure eras.

windowStart

Start day of the window where covariates are captured, relative to the index date (0 = index date).

windowEnd

End day of the window where covariates are captured, relative to the index date (0 = index date).

analysisId

A unique identifier for this analysis.

Details

Counts the number of prior treatments.

Value

A covariateSettings object.


OHDSI/Legend documentation built on Dec. 29, 2020, 3:52 a.m.