formatBinaryCovariateName: formatBinaryCovariateName

View source: R/Helpers.R

formatBinaryCovariateNameR Documentation

formatBinaryCovariateName

Description

Removes the long part of the covariate name to make it friendly

Usage

formatBinaryCovariateName(data)

Arguments

data

The data.frame with the covariateName column

Details

Makes the covariateName more friendly and shorter

Value

The data data.frame object with the ovariateName column changed to be more friendly

See Also

Other helper: addTarColumn(), getExampleConnectionDetails(), kableDark(), printReactable(), removeSpaces()

Examples

formatBinaryCovariateName(data.frame(
covariateName = c("fdfgfgf: dgdgff","made up test")
))


OhdsiReportGenerator documentation built on June 8, 2025, 1:09 p.m.