
Theoretical maximum for degree centralization
Source:R/centralization.R
centralization.degree.tmax.Rdcentralization.degree.tmax() was renamed to centr_degree_tmax() to create a more
consistent API.
Usage
centralization.degree.tmax(
graph = NULL,
nodes = 0,
mode = c("all", "out", "in", "total"),
loops = FALSE
)Arguments
- graph
The input graph. It can also be
NULLifnodesis given.- nodes
The number of vertices. This is ignored if the graph is given.
- mode
This is the same as the
modeargument ofdegree(). Ignored ifgraphis given and the graph is undirected.- loops
Logical scalar, whether to consider loops edges when calculating the degree.