Skip to contents

[Deprecated]

centralization.degree() was renamed to centr_degree() to create a more consistent API.

Usage

centralization.degree(
  graph,
  mode = c("all", "out", "in", "total"),
  loops = TRUE,
  normalized = TRUE
)

Arguments

graph

The input graph.

mode

This is the same as the mode argument of degree().

loops

Logical scalar, whether to consider loops edges when calculating the degree.

normalized

Logical scalar. Whether to normalize the graph level centrality score by dividing by the theoretical maximum.

centralization_degree()