EVOLUTION-MANAGER
Edit File: make_.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: Make a new 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 make_ {igraph}"><tr><td>make_ {igraph}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Make a new graph</h2> <h3>Description</h3> <p>This is a generic function for creating graphs. </p> <h3>Usage</h3> <pre> make_(...) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>...</code></td> <td> <p>Parameters, see details below.</p> </td></tr> </table> <h3>Details</h3> <p><code>make_</code> is a generic function for creating graphs. For every graph constructor in igraph that has a <code>make_</code> prefix, there is a corresponding function without the prefix: e.g. for <code><a href="make_ring.html">make_ring</a></code> there is also <code><a href="make_ring.html">ring</a></code>, etc. </p> <p>The same is true for the random graph samplers, i.e. for each constructor with a <code>sample_</code> prefix, there is a corresponding function without that prefix. </p> <p>These shorter forms can be used together with <code>make_</code>. The advantage of this form is that the user can specify constructor modifiers which work with all constructors. E.g. the <code><a href="with_vertex_.html">with_vertex_</a></code> modifier adds vertex attributes to the newly created graphs. </p> <p>See the examples and the various constructor modifiers below. </p> <h3>See Also</h3> <p>simplified with_edge_ with_graph_ with_vertex_ without_loops without_multiples </p> <h3>Examples</h3> <pre> r <- make_(ring(10)) l <- make_(lattice(c(3, 3, 3))) r2 <- make_(ring(10), with_vertex_(color = "red", name = LETTERS[1:10])) l2 <- make_(lattice(c(3, 3, 3)), with_edge_(weight = 2)) ran <- sample_(degseq(c(3,3,3,3,3,3), method = "simple"), simplified()) degree(ran) is_simple(ran) </pre> <hr /><div style="text-align: center;">[Package <em>igraph</em> version 1.3.5 <a href="00Index.html">Index</a>]</div> </body></html>