Label rows with panel membership
panel_label.RdAppends the per-organization panel classification (panel_type,
panel_spell, first/last/count and gap metrics) to every input row,
preserving row order.
Arguments
- data
A panel data frame.
- time
Name of the panel-time column.
- id
Name of the panel-ID column.
- classification
Optional precomputed classification (from
panel_describe()); computed fromdatawhenNULL.