filterByRowId: Filter covariates by row ID

View source: R/HelperFunctions.R

filterByRowIdR Documentation

Filter covariates by row ID

Description

Filter covariates by row ID

Usage

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


covariateData <- FeatureExtraction::createEmptyCovariateData(
  cohortIds = 1,
  aggregated = FALSE,
  temporal = FALSE
)

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



FeatureExtraction documentation built on Oct. 18, 2024, 9:06 a.m.