EVOLUTION-MANAGER
Edit File: delete_vertices.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: Delete vertices from a 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 delete_vertices {igraph}"><tr><td>delete_vertices {igraph}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Delete vertices from a graph</h2> <h3>Description</h3> <p>Delete vertices from a graph </p> <h3>Usage</h3> <pre> delete_vertices(graph, v) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>graph</code></td> <td> <p>The input graph.</p> </td></tr> <tr valign="top"><td><code>v</code></td> <td> <p>The vertices to remove, a vertex sequence.</p> </td></tr> </table> <h3>Value</h3> <p>The graph, with the vertices removed. </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="edge.html">edge</a>()</code>, <code><a href="igraph-minus.html">igraph-minus</a></code>, <code><a href="path.html">path</a>()</code>, <code><a href="vertex.html">vertex</a>()</code> </p> <h3>Examples</h3> <pre> g <- make_ring(10) %>% set_vertex_attr("name", value = LETTERS[1:10]) g V(g) g2 <- delete_vertices(g, c(1,5)) %>% delete_vertices("B") g2 V(g2) </pre> <hr /><div style="text-align: center;">[Package <em>igraph</em> version 1.3.5 <a href="00Index.html">Index</a>]</div> </body></html>