Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

numNoEdges

Calculate the number of nodes that have an edge list of NULL


Description

numNoEdges calculates the number of nodes that have an edge list of NULL (i.e. no edges).

Usage

numNoEdges(objGraph)

Arguments

objGraph

the graph object

Value

An integer representing the number of NULL edge lists in the graph.

Author(s)

Elizabeth Whalen

See Also

Examples

set.seed(999)
  g1 <- randomEGraph(letters, .01)
  numNoEdges(g1)

graph

graph: A package to handle graph data structures

v1.68.0
Artistic-2.0
Authors
R. Gentleman, Elizabeth Whalen, W. Huber, S. Falcon
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.