Learn R Programming

teal.modules.clinical (version 0.10.0)

clean_description: Clean up categorical variable description

Description

Cleaning categorical variable descriptions before presenting.

Usage

clean_description(x)

Value

a string

Arguments

x

(character)
vector with categories descriptions.

Examples

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

Run the code above in your browser using DataLab