Learn R Programming

icd9 (version 1.3.1)

icd9IsA: test whether elements of vector begin with V, E (or any other character)

Description

Current returns a std::vector which is not thread safe, or particularly fast, although it is memory efficient in the standard borked implementation. As of icd9 version 1.2, this is not called by threaded code, but this could change, so beware! ASCII spaces are trimmed from the start of the string before testing, but no other whitesapce

Usage

icd9IsA(sv, x, invert = FALSE)

Arguments

sv
std::vector&
x
const char* of choices of first character to match