% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/communities.R
\name{modularity.cograph_communities}
\alias{modularity.cograph_communities}
\title{Get Modularity Score}
\usage{
modularity.cograph_communities(x, graph = NULL, ...)
}
\arguments{
\item{x}{A cograph_communities object}

\item{graph}{Optional igraph object for recalculation}

\item{...}{Additional arguments}
}
\value{
Numeric modularity value
}
\description{
Get Modularity Score
}
\examples{
\dontshow{if (requireNamespace("igraph", quietly = TRUE)) withAutoprint(\{ # examplesIf}
g <- igraph::make_graph("Zachary")
comm <- community_louvain(g)
igraph::modularity(comm)
\dontshow{\}) # examplesIf}
}
