calculate_active_statsConverts actor names to 0-based integer IDs and status to 0/1. Remify stores actor IDs as 1-based integers; C++ expects 0-based.
.prepare_dual_edgelist(edgelist_dual, actor_ids)A numeric matrix with columns [time, actor1_id, actor2_id, status].
The $edgelist_dual data.frame from a
remify_durem object.
Named integer vector mapping actor name → 0-based ID.