Skip to contents

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

Usage

formatBinaryCovariateName(data)

Arguments

data

The data.frame with the covariateName column

Value

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

Details

Makes the covariateName more friendly and shorter

Examples

formatBinaryCovariateName(data.frame(
covariateName = c("fdfgfgf: dgdgff","made up test")
))
#>       covariateName
#> 1            dgdgff
#> 2 Unknown covariate