% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/centrality_measures.R
\name{plot.net_centrality_group}
\alias{plot.net_centrality_group}
\title{Plot grouped centrality measures}
\usage{
\method{plot}{net_centrality_group}(
  x,
  reorder = TRUE,
  ncol = 3L,
  type = c("bar", "line", "delta"),
  scales = c("free_x", "fixed"),
  palette = "Set2",
  profile_scale = c("measure", "none"),
  labels = FALSE,
  drop_zero = FALSE,
  ...
)
}
\arguments{
\item{x}{A \code{net_centrality_group} object returned by
\code{\link{net_centrality}}.}

\item{reorder}{Logical. Reorder states by their mean value within each
centrality panel. Default: \code{TRUE}.}

\item{ncol}{Integer. Number of facet columns.}

\item{type}{Plot type. \code{"bar"} shows grouped bars within each measure;
\code{"line"} facets by state and draws one line per group across
centrality measures (\code{"profile"} is accepted as an alias);
\code{"delta"} draws a diverging bar of group
differences. With two groups it is the per-state difference (second group
minus first); with three or more groups it is each group's deviation from
the per-state group mean, so the largest gaps stand out either way.}

\item{scales}{Facet scale mode. \code{"free_x"} uses free centrality axes;
\code{"fixed"} keeps a common centrality axis.}

\item{palette}{Brewer palette for groups.}

\item{profile_scale}{Scaling used by \code{type = "line"}.
\code{"measure"} rescales each centrality measure to 0--1 before drawing
cross-measure profiles; \code{"none"} uses raw values.}

\item{labels}{Logical. Add compact value labels.}

\item{drop_zero}{Logical. Drop measures whose values are all (near) zero
so empty panels do not waste space. Default: \code{FALSE}.}

\item{...}{Additional arguments ignored.}
}
\value{
A \code{ggplot} object.
}
\description{
Plot grouped centrality measures
}
