1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/centralization.R
\name{centralization.degree}
\alias{centralization.degree}
\title{Centralize a graph according to the degrees of vertices}
\usage{
centralization.degree(
graph,
mode = c("all", "out", "in", "total"),
loops = TRUE,
normalized = TRUE
)
}
\arguments{
\item{graph}{The input graph.}
\item{mode}{This is the same as the \code{mode} argument of
\code{degree()}.}
\item{loops}{Logical scalar, whether to consider loops edges when
calculating the degree.}
\item{normalized}{Logical scalar. Whether to normalize the graph level
centrality score by dividing by the theoretical maximum.}
}
\description{
\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}}
\code{centralization.degree()} was renamed to \code{centr_degree()} to create a more
consistent API.
}
\keyword{internal}
|