EVOLUTION-MANAGER
Edit File: groups.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Groups of a vertex partitioning</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for groups {igraph}"><tr><td>groups {igraph}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Groups of a vertex partitioning</h2> <h3>Description</h3> <p>Create a list of vertex groups from some graph clustering or community structure. </p> <h3>Usage</h3> <pre> groups(x) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>x</code></td> <td> <p>Some object that represents a grouping of the vertices. See details below.</p> </td></tr> </table> <h3>Details</h3> <p>Currently two methods are defined for this function. The default method works on the output of <code><a href="components.html">components</a></code>. (In fact it works on any object that is a list with an entry called <code>membership</code>.) </p> <p>The second method works on <code><a href="communities.html">communities</a></code> objects. </p> <h3>Value</h3> <p>A named list of numeric or character vectors. The names are just numbers that refer to the groups. The vectors themselves are numeric or symbolic vertex ids. </p> <h3>See Also</h3> <p><code><a href="components.html">components</a></code> and the various community finding functions. </p> <h3>Examples</h3> <pre> g <- make_graph("Zachary") fgc <- cluster_fast_greedy(g) groups(fgc) g2 <- make_ring(10) + make_full_graph(5) groups(components(g2)) </pre> <hr /><div style="text-align: center;">[Package <em>igraph</em> version 1.3.5 <a href="00Index.html">Index</a>]</div> </body></html>