graphOps: Graph Operations

nedgeR Documentation

Graph Operations

Description

Graph Operations

Usage

nedge(graph, edges)

vnames(graph)

nv(graph)

Arguments

graph

an object of class mixedgraph

edges

character vector of edge types to include, defaults to all

Details

nedge uses an internal function nedge2 to count for each type of edge separately. Do we want this to apply to graphs or edge lists or both?

Functions

  • nedge(): number of edges

  • vnames(): names of vertices for mixedgraph object

  • nv(): number of vertices for mixedgraph object


rje42/MixedGraphs documentation built on March 20, 2024, 8:09 a.m.