EVOLUTION-MANAGER
Edit File: sample_growing.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: Growing random graph generation</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_growing {igraph}"><tr><td>sample_growing {igraph}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Growing random graph generation</h2> <h3>Description</h3> <p>This function creates a random graph by simulating its stochastic evolution. </p> <h3>Usage</h3> <pre> sample_growing(n, m = 1, directed = TRUE, citation = FALSE) growing(...) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>n</code></td> <td> <p>Numeric constant, number of vertices in the graph.</p> </td></tr> <tr valign="top"><td><code>m</code></td> <td> <p>Numeric constant, number of edges added in each time step.</p> </td></tr> <tr valign="top"><td><code>directed</code></td> <td> <p>Logical, whether to create a directed graph.</p> </td></tr> <tr valign="top"><td><code>citation</code></td> <td> <p>Logical. If <code>TRUE</code> a citation graph is created, ie. in each time step the added edges are originating from the new vertex.</p> </td></tr> <tr valign="top"><td><code>...</code></td> <td> <p>Passed to <code>sample_growing</code>.</p> </td></tr> </table> <h3>Details</h3> <p>This is discrete time step model, in each time step a new vertex is added to the graph and <code>m</code> new edges are created. If <code>citation</code> is <code>FALSE</code> these edges are connecting two uniformly randomly chosen vertices, otherwise the edges are connecting new vertex to uniformly randomly chosen old vertices. </p> <h3>Value</h3> <p>A new graph object. </p> <h3>Author(s)</h3> <p>Gabor Csardi <a href="mailto:csardi.gabor@gmail.com">csardi.gabor@gmail.com</a> </p> <h3>See Also</h3> <p><code><a href="sample_pa.html">sample_pa</a></code>, <code><a href="sample_gnp.html">sample_gnp</a></code> </p> <h3>Examples</h3> <pre> g <- sample_growing(500, citation=FALSE) g2 <- sample_growing(500, citation=TRUE) </pre> <hr /><div style="text-align: center;">[Package <em>igraph</em> version 1.3.5 <a href="00Index.html">Index</a>]</div> </body></html>