Learn R Programming

DrDimont (version 0.1.4)

graph_metrics: [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)

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.

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.