check_duplicate_edges: Check and Handle Duplicate Edges

View source: R/splot-params.R

check_duplicate_edgesR Documentation

Check and Handle Duplicate Edges

Description

Detects duplicate edges in undirected networks and either errors with guidance or aggregates them per the user's edge_duplicates setting.

Usage

check_duplicate_edges(edges, directed, edge_duplicates)

Arguments

edges

Edge data frame.

directed

Logical: is the network directed?

edge_duplicates

Aggregation method (NULL to error, or "sum"/"mean"/etc).

Value

Possibly aggregated edge data frame.


cograph documentation built on April 1, 2026, 1:07 a.m.