ccd_demographic_spell: Create demographic table with spell IDs

View source: R/demographics.R

ccd_demographic_spellR Documentation

Create demographic table with spell IDs

Description

same output like ccd_demographic_table but in addition with a spell ID.

Usage

ccd_demographic_spell(rec, duration = 2)

Arguments

rec

ccRecord

duration

the maximum hours of transition period

Value

data.table demographic table with spell ID in column spell


CC-HIC/cleanEHR documentation built on Aug. 28, 2022, 10:33 a.m.