graph_metrics function

[INTERNAL] Analysis of metrics of an iGraph object

[INTERNAL] Analysis of metrics of an iGraph object

[INTERNAL] This helper function prints or returns multiple metrics of arbitrary iGraph graph object.

graph_metrics(graph, verbose = TRUE, return = FALSE)

Arguments

  • graph: [igraph] iGraph object to analyze.
  • verbose: [bool] If TRUE graph information is printed.
  • return: [bool] If TRUE graph information is returned from function.

Returns

Named list of metrics including vertex count, edge count, number of components, size of largest component and the relative frequency of zero degree vertices.

  • Maintainer: Katharina Baum
  • License: MIT + file LICENSE
  • Last published: 2022-09-23

Useful links