Skip to contents

Tidy cancer code

Usage

tidy_cancer(x, label_type = "full", lang = "zh", as_factor = TRUE)

Arguments

x

Cancer codes that output by classify_icd10.

label_type

Type of labels used, options are 'full' or 'abbr'.

lang

Language used for labels, options area 'en' or 'cn'.

as_factor

Logical value, output factor or not.

Value

Factors of cancer code label.