EVOLUTION-MANAGER
Edit File: rep.igraph.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: Replicate a graph multiple times</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 rep.igraph {igraph}"><tr><td>rep.igraph {igraph}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Replicate a graph multiple times</h2> <h3>Description</h3> <p>The new graph will contain the input graph the given number of times, as unconnected components. </p> <h3>Usage</h3> <pre> ## S3 method for class 'igraph' rep(x, n, mark = TRUE, ...) ## S3 method for class 'igraph' x * n </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>x</code></td> <td> <p>The input graph.</p> </td></tr> <tr valign="top"><td><code>n</code></td> <td> <p>Number of times to replicate it.</p> </td></tr> <tr valign="top"><td><code>mark</code></td> <td> <p>Whether to mark the vertices with a <code>which</code> attribute, an integer number denoting which replication the vertex is coming from.</p> </td></tr> <tr valign="top"><td><code>...</code></td> <td> <p>Additional arguments to satisfy S3 requirements, currently ignored.</p> </td></tr> </table> <h3>Examples</h3> <pre> rings <- make_ring(5) * 5 </pre> <hr /><div style="text-align: center;">[Package <em>igraph</em> version 1.3.5 <a href="00Index.html">Index</a>]</div> </body></html>