Skip to contents

Merges overlapping spells for the same (head, tail) pair into a single row. Useful when concatenating cumulative edgelists across multiple simulations or sources, where the same partnership can appear in more than one segment. The reachability functions assume non-overlapping input.

Usage

dedup_cumulative_edgelist(el)

Arguments

el

A cumulative edgelist with potentially overlapping edges.

Value

A cumulative edgelist with no overlapping edges for the same (head, tail) pair.

Examples

if (FALSE) { # \dontrun{
el_cuml <- dedup_cumulative_edgelist(el_raw)
} # }