EVOLUTION-MANAGER
Edit File: sample_islands.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: A graph with subgraphs that are each a random 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 sample_islands {igraph}"><tr><td>sample_islands {igraph}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>A graph with subgraphs that are each a random graph.</h2> <h3>Description</h3> <p>Create a number of Erdos-Renyi random graphs with identical parameters, and connect them with the specified number of edges. </p> <h3>Usage</h3> <pre> sample_islands(islands.n, islands.size, islands.pin, n.inter) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>islands.n</code></td> <td> <p>The number of islands in the graph.</p> </td></tr> <tr valign="top"><td><code>islands.size</code></td> <td> <p>The size of islands in the graph.</p> </td></tr> <tr valign="top"><td><code>islands.pin</code></td> <td> <p>The probability to create each possible edge into each island.</p> </td></tr> <tr valign="top"><td><code>n.inter</code></td> <td> <p>The number of edges to create between two islands.</p> </td></tr> </table> <h3>Value</h3> <p>An igraph graph. </p> <h3>Examples</h3> <pre> g <- sample_islands(3, 10, 5/10, 1) oc <- cluster_optimal(g) oc </pre> <h3>Author(s)</h3> <p>Samuel Thiriot </p> <h3>See Also</h3> <p><code><a href="sample_gnp.html">sample_gnp</a></code> </p> <hr /><div style="text-align: center;">[Package <em>igraph</em> version 1.3.5 <a href="00Index.html">Index</a>]</div> </body></html>