Learn R Programming

icd (version 3.3)

switch_ver_cmb: guess icd-9 or icd-10 or other type, and switch to call the given function

Description

guess icd-9 or icd-10 or other type, and switch to call the given function

Usage

switch_ver_cmb(x, funs, ...)

Arguments

x

data frame of patient data

funs

named list of functions to call, with the names being at a minimum 'icd9' and 'icd10', and 'icd9cm' or 'icd10cm' being used first if provided.

...

further arguments, perhaps including icd_name