filterByCohortDefinitionId {FeatureExtraction} | R Documentation |
Filter covariates by cohort definition IDs
Description
Filter covariates by cohort definition IDs
Usage
filterByCohortDefinitionId(covariateData, cohortId = 1, cohortIds = c(1))
Arguments
covariateData |
An object of type |
cohortId |
DEPRECATED The cohort definition IDs to keep. |
cohortIds |
The cohort definition IDs to keep. |
Value
An object of type covariateData
.
Examples
covariateData <- FeatureExtraction::createEmptyCovariateData(
cohortIds = c(1, 2),
aggregated = TRUE,
temporal = FALSE
)
covData <- filterByCohortDefinitionId(
covariateData = covariateData,
cohortIds = c(1)
)
[Package FeatureExtraction version 3.6.0 Index]