EVOLUTION-MANAGER
Edit File: vertex.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: Helper function for adding and deleting vertices</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 vertex {igraph}"><tr><td>vertex {igraph}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Helper function for adding and deleting vertices</h2> <h3>Description</h3> <p>This is a helper function that simplifies adding and deleting vertices to/from graphs. </p> <h3>Usage</h3> <pre> vertex(...) vertices(...) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>...</code></td> <td> <p>See details below.</p> </td></tr> </table> <h3>Details</h3> <p><code>vertices</code> is an alias for <code>vertex</code>. </p> <p>When adding vertices via <code>+</code>, all unnamed arguments are interpreted as vertex names of the new vertices. Named arguments are interpreted as vertex attributes for the new vertices. </p> <p>When deleting vertices via <code>-</code>, all arguments of <code>vertex</code> (or <code>vertices</code>) are concatenated via <code>c()</code> and passed to <code><a href="delete_vertices.html">delete_vertices</a></code>. </p> <h3>Value</h3> <p>A special object that can be used with together with igraph graphs and the plus and minus operators. </p> <h3>See Also</h3> <p>Other functions for manipulating graph structure: <code><a href="plus-.igraph.html">+.igraph</a>()</code>, <code><a href="add_edges.html">add_edges</a>()</code>, <code><a href="add_vertices.html">add_vertices</a>()</code>, <code><a href="delete_edges.html">delete_edges</a>()</code>, <code><a href="delete_vertices.html">delete_vertices</a>()</code>, <code><a href="edge.html">edge</a>()</code>, <code><a href="igraph-minus.html">igraph-minus</a></code>, <code><a href="path.html">path</a>()</code> </p> <h3>Examples</h3> <pre> g <- make_(ring(10), with_vertex_(name = LETTERS[1:10])) + vertices('X', 'Y') g plot(g) </pre> <hr /><div style="text-align: center;">[Package <em>igraph</em> version 1.3.5 <a href="00Index.html">Index</a>]</div> </body></html>