EVOLUTION-MANAGER
Edit File: rewire.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: Rewiring edges of a graph</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 rewire {igraph}"><tr><td>rewire {igraph}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Rewiring edges of a graph</h2> <h3>Description</h3> <p>See the links below for the implemented rewiring methods. </p> <h3>Usage</h3> <pre> rewire(graph, with) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>graph</code></td> <td> <p>The graph to rewire</p> </td></tr> <tr valign="top"><td><code>with</code></td> <td> <p>A function call to one of the rewiring methods, see details below.</p> </td></tr> </table> <h3>Value</h3> <p>The rewired graph. </p> <h3>See Also</h3> <p>Other rewiring functions: <code><a href="each_edge.html">each_edge</a>()</code>, <code><a href="keeping_degseq.html">keeping_degseq</a>()</code> </p> <h3>Examples</h3> <pre> g <- make_ring(10) g %>% rewire(each_edge(p = .1, loops = FALSE)) %>% plot(layout=layout_in_circle) print_all(rewire(g, with = keeping_degseq(niter = vcount(g) * 10))) </pre> <hr /><div style="text-align: center;">[Package <em>igraph</em> version 1.3.5 <a href="00Index.html">Index</a>]</div> </body></html>