Learn R Programming

OhdsiReportGenerator (version 2.0.2)

formatBinaryCovariateName: formatBinaryCovariateName

Description

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

Usage

formatBinaryCovariateName(data)

Value

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

Arguments

data

The data.frame with the covariateName column

Details

Makes the covariateName more friendly and shorter

See Also

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

Examples

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

Run the code above in your browser using DataLab