create_edges_df: Create Edge Data Frame

View source: R/input-parse.R

create_edges_dfR Documentation

Create Edge Data Frame

Description

Create Edge Data Frame

Usage

create_edges_df(from, to, weight = NULL, directed = FALSE)

Arguments

from

Vector of source node indices.

to

Vector of target node indices.

weight

Vector of edge weights.

directed

Logical. Is the network directed?

Value

Data frame with edge information.


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