ccd_demographic_spell: 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
duration
the maximum hours of transition period
Value
data.table demographic table with spell ID in column spell