centralization.degree: Centralize a graph according to the degrees of vertices

View source: R/centralization.R

centralization.degreeR Documentation

Centralize a graph according to the degrees of vertices

Description

[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.


igraph documentation built on Oct. 20, 2024, 1:06 a.m.