icd10_comorbid_reduce: ICD-10 comorbidities by reducing problem size

Description Usage

View source: R/comorbid.R

Description

Use method to reduce ICD-10 problem by initially finding only relevant codes in the map, then populating map only with the exact patient ICD codes (not the original map codes), before doing categorization.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
icd10_comorbid_reduce(
  x = x,
  map,
  visit_name,
  icd_name,
  short_code,
  short_map,
  return_df,
  return_binary = FALSE,
  categorize_fun = categorize_simple,
  ...
)

icd documentation built on July 2, 2020, 4:07 a.m.