Learn R Programming

icd (version 3.3)

icd9_is_n: Do ICD-9 codes belong to numeric, V or E sub-types?

Description

For each code, return TRUE if numeric or FALSE if a V or E code.

Usage

icd9_is_n(x)

icd9_is_v(x)

icd9_is_e(x)

Arguments

x

vector of strings or factor to test

Value

logical vector

Functions

  • icd9_is_v: are the given codes V type?

  • icd9_is_e: are the given codes E type?