clean_description: Clean up categorical variable description

View source: R/utils.R

clean_descriptionR Documentation

Clean up categorical variable description

Description

Cleaning categorical variable descriptions before presenting.

Usage

clean_description(x)

Arguments

x

(character)
vector with categories descriptions.

Value

a string

Examples

clean_description("Level A (other text)")
clean_description("A long string that should be shortened")


teal.modules.clinical documentation built on April 4, 2025, 12:35 a.m.