create_new_diag: Create a new variable based on pattern in the argument expr

Description Usage Arguments Value Examples

Description

Create a new variable based on pattern in the argument expr

Usage

1
create_new_diag(data, expr, colvec, ignore.case = T, perl = T)

Arguments

ignore.case

logical

perl

logical

data:

input data

expr:

regular expression describing the pattern of interest

colvec:

indices of variables of interest

Value

new variable matching the pattern described in the regular expression

Examples

1
to be added

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