Learn R Programming

icd9 (version 0.2.1)

spawnReferenceChildren: spawn reference codes into all possible lower-level codes (and memoise)

Description

take a regular string of an ICD9 code of format (ABC.zxyz) with or without leading and trailing zeroes. top level ICD9 code and return T/F if the icd9 fall within subgroups. This takes several seconds on an unimpressive desktop PC, so would benefit from memoization.

Usage

spawnReferenceChildren(icd9Reference, shortReference)

Arguments