Learn R Programming

icd (version 4.0.6)

expand_range_major: Expand two major codes to a range

Description

Expand a pair of major codes into a range of major codes. Primarily for use by icd.data.

Usage

expand_range_major(start, end, defined = TRUE)

# S3 method for default expand_range_major(start, end, defined = TRUE)

# S3 method for icd10cm expand_range_major(start, end, defined = TRUE)

# S3 method for icd9 expand_range_major(start, end, defined = TRUE)

Arguments

...

arguments passed on to other functions

Methods (by class)

  • default: Expand range of top-level, 'major' codes of unknown type

  • icd10cm: Expand range of top-level ICD-10 codes

  • icd9: Expand a range of ICD-9 major codes into major codes

Examples

Run this code
# NOT RUN {
expand_range_major("100", "102")
# }

Run the code above in your browser using DataLab