icd9IsN: do codes belong to numeric, V or E classes?

Description Usage Arguments Value Functions

View source: R/valid.R

Description

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

Usage

1
2
3
4
5

Arguments

icd9

is a character vector or factor of ICD-9 codes. If fewer than five characters is given in a code, then the digits are greedily assigned to hundreds, then tens, then units, before the decimal parts. E.g. "10" becomes "010", not "0010".

Value

logical vector

Functions


icd9 documentation built on May 30, 2017, 2:25 a.m.