Filter covariates by row ID

filterByRowId(covariateData, rowIds)

Arguments

covariateData

An object of type CovariateData

rowIds

A vector containing the rowIds to keep.

Value

An object of type covariateData.

Examples

# \donttest{
covariateData <- FeatureExtraction::createEmptyCovariateData(
  cohortIds = 1,
  aggregated = FALSE,
  temporal = FALSE
)

covData <- filterByRowId(
  covariateData = covariateData,
  rowIds = 1
)
# }