Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


teal.modules.clinical (version 0.9.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