graph_metrics: [INTERNAL] Analysis of metrics of an iGraph object

View source: R/utilities.R

graph_metricsR Documentation

[INTERNAL] Analysis of metrics of an iGraph object

Description

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

Usage

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.

Value

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


DrDimont documentation built on Sept. 23, 2022, 5:06 p.m.