View source: R/HelperFunctions.R
filterByCohortDefinitionId | R Documentation |
Filter covariates by cohort definition IDs
filterByCohortDefinitionId(covariateData, cohortId = 1, cohortIds = c(1))
covariateData |
An object of type |
cohortId |
DEPRECATED The cohort definition IDs to keep. |
cohortIds |
The cohort definition IDs to keep. |
An object of type covariateData
.
covariateData <- FeatureExtraction::createEmptyCovariateData(
cohortIds = c(1, 2),
aggregated = TRUE,
temporal = FALSE
)
covData <- filterByCohortDefinitionId(
covariateData = covariateData,
cohortIds = c(1)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.