edges.from.path: edges.from.path

Description Usage Arguments Value See Also

View source: R/edges.from.path.R

Description

Creates an edge list from input path

Usage

1
edges.from.path(x, by.vertex.name = TRUE)

Arguments

x

A vector that lists the sequence of vertices in a path (from start to end if a directed path) [vector]

by.vertex.name

Optional (Default=TRUE) [boolean]

Value

a 2-column matrix, each row representing the start and end vetices of an edge [array]

See Also

Other Path Operations: AOPN.short.path.color


npollesch/AOPNet documentation built on Jan. 9, 2021, 12:39 a.m.