Learn R Programming

FeatureExtraction (version 3.7.2)

filterByRowId: Filter covariates by row ID

Description

Filter covariates by row ID

Usage

filterByRowId(covariateData, rowIds)

Value

An object of type covariateData.

Arguments

covariateData

An object of type CovariateData

rowIds

A vector containing the rowIds to keep.

Examples

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

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

Run the code above in your browser using DataLab