createDefaultCovariateSettings: Create the default covariate settings

View source: R/DefaultCovariateSettings.R

createDefaultCovariateSettingsR Documentation

Create the default covariate settings

Description

Create the default covariate settings for acute or chronic diseases

Usage

createDefaultCovariateSettings(
  excludedCovariateConceptIds = c(),
  includedCovariateIds = c(),
  includedCovariateConceptIds = c(),
  addDescendantsToExclude = FALSE,
  startDayWindow1 = 0,
  endDayWindow1 = 9999,
  startDayWindow2 = NULL,
  endDayWindow2 = NULL,
  startDayWindow3 = NULL,
  endDayWindow3 = NULL
)

Arguments

excludedCovariateConceptIds

A list of conceptIds to exclude from featureExtraction. These should include all concept_ids that were used to define the xSpec model (default=NULL)

includedCovariateIds

A list of covariate IDs that should be restricted to.

includedCovariateConceptIds

A list of covariate concept IDs that should be restricted to.

addDescendantsToExclude

Should descendants of excluded concepts also be excluded? (default=FALSE)

startDayWindow1

The day to start time window 1 for feature extraction

endDayWindow1

The day to end time window 1 for feature extraction

startDayWindow2

The day to start time window 2 for feature extraction

endDayWindow2

The day to end time window 2 for feature extraction

startDayWindow3

The day to start time window 3 for feature extraction

endDayWindow3

The day to end time window 3 for feature extraction #'

Details

Function to create the default covariate settings for acute or chronic diseases


OHDSI/PheValuator documentation built on Jan. 28, 2024, 4:05 a.m.