edgelist: Create EdgeList object

edgelistR Documentation

Create EdgeList object

Description

If y is a named character vector, then the names should correspond to whatever in x would otherwise (i.e. if y were NULL) translate to the levels set of the nodes-representing columns, while the values themselves give the new levels.

Usage

edgelist(x, y = NULL)

Arguments

x

object to convert to edgelist

y

named character vector giving levels for nodes-representing columns, or NULL

Value

EdgeList

Author(s)

Ben Hansen


optmatch documentation built on Sept. 19, 2024, 9:06 a.m.