agglomerate: agglomerates hierarchically nested codes (ICD10, ATC, etc.)...

Description Usage

View source: R/agglomerate.R

Description

agglomerates hierarchically nested codes (ICD10, ATC, etc.) to fewer, but more widespread categories than the initial input

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
agglomerate(
  data,
  domain,
  id = "pnr_enc",
  selection = NULL,
  skip = 0,
  levels,
  threshold = 0.01,
  censor.time = NULL,
  selection.pos = 1,
  free = F,
  fixed = NULL
)

socioskop/grit documentation built on Dec. 23, 2021, 3:30 a.m.