Learn R Programming

icd (version 2.4.1)

icd9ChildrenShortStd: C++ implementation of finding children of short codes

Description

C++ implementation of finding children of short codes

Usage

icd9ChildrenShortStd(icd9Short, onlyReal)

Arguments

Examples

Run this code
# NOT RUN {
library(microbenchmark)
microbenchmark(icd9ChildrenShort("001", T), icd9ChildrenShortStd("001", T), times = 100)
microbenchmark(icd9ChildrenShort(c("001", 100:400), T),
               icd9ChildrenShortUnordered(c("001", 100:400), T),
               icd9ChildrenShortStd(c("001", 100:400), T),
               times = 10)
# }
# NOT RUN {
# un-ordered set much faster, but may still need to sort result
# }

Run the code above in your browser using DataLab