make_regex1: transform the ICD-10-CM codes into an operational regular...

Description Usage Arguments Value Examples

Description

transform the ICD-10-CM codes into an operational regular expression.

Usage

1

Arguments

x

input variable

Value

return the icd10cm as regular expressions with all the "x" not at the beginning of the icd10cm code replaced by '.' to match any character.

Examples

1
2
3
to be added
library(tidyverse)
make_regex(c("X45x2", "Y65xx"))

injuryepi/injuryicd10cm documentation built on May 4, 2019, 7:42 p.m.