EVOLUTION-MANAGER
Edit File: igraph-vs-indexing2.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: Select vertices and show their metadata</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 igraph-vs-indexing2 {igraph}"><tr><td>igraph-vs-indexing2 {igraph}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Select vertices and show their metadata</h2> <h3>Description</h3> <p>The double bracket operator can be used on vertex sequences, to print the meta-data (vertex attributes) of the vertices in the sequence. </p> <h3>Usage</h3> <pre> ## S3 method for class 'igraph.vs' x[[...]] </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>x</code></td> <td> <p>A vertex sequence.</p> </td></tr> <tr valign="top"><td><code>...</code></td> <td> <p>Additional arguments, passed to <code>[</code>.</p> </td></tr> </table> <h3>Details</h3> <p>Technically, when used with vertex sequences, the double bracket operator does exactly the same as the single bracket operator, but the resulting vertex sequence is printed differently: all attributes of the vertices in the sequence are printed as well. </p> <p>See <code><a href="igraph-vs-indexing.html">[.igraph.vs</a></code> for more about indexing vertex sequences. </p> <h3>Value</h3> <p>The double bracket operator returns another vertex sequence, with meta-data (attribute) printing turned on. See details below. </p> <h3>See Also</h3> <p>Other vertex and edge sequences: <code><a href="E.html">E</a>()</code>, <code><a href="V.html">V</a>()</code>, <code><a href="igraph-es-attributes.html">igraph-es-attributes</a></code>, <code><a href="igraph-es-indexing2.html">igraph-es-indexing2</a></code>, <code><a href="igraph-es-indexing.html">igraph-es-indexing</a></code>, <code><a href="igraph-vs-attributes.html">igraph-vs-attributes</a></code>, <code><a href="igraph-vs-indexing.html">igraph-vs-indexing</a></code>, <code><a href="print.igraph.es.html">print.igraph.es</a>()</code>, <code><a href="print.igraph.vs.html">print.igraph.vs</a>()</code> </p> <p>Other vertex and edge sequence operations: <code><a href="c.igraph.es.html">c.igraph.es</a>()</code>, <code><a href="c.igraph.vs.html">c.igraph.vs</a>()</code>, <code><a href="difference.igraph.es.html">difference.igraph.es</a>()</code>, <code><a href="difference.igraph.vs.html">difference.igraph.vs</a>()</code>, <code><a href="igraph-es-indexing2.html">igraph-es-indexing2</a></code>, <code><a href="igraph-es-indexing.html">igraph-es-indexing</a></code>, <code><a href="igraph-vs-indexing.html">igraph-vs-indexing</a></code>, <code><a href="intersection.igraph.es.html">intersection.igraph.es</a>()</code>, <code><a href="intersection.igraph.vs.html">intersection.igraph.vs</a>()</code>, <code><a href="rev.igraph.es.html">rev.igraph.es</a>()</code>, <code><a href="rev.igraph.vs.html">rev.igraph.vs</a>()</code>, <code><a href="union.igraph.es.html">union.igraph.es</a>()</code>, <code><a href="union.igraph.vs.html">union.igraph.vs</a>()</code>, <code><a href="unique.igraph.es.html">unique.igraph.es</a>()</code>, <code><a href="unique.igraph.vs.html">unique.igraph.vs</a>()</code> </p> <h3>Examples</h3> <pre> g <- make_ring(10) %>% set_vertex_attr("color", value = "red") %>% set_vertex_attr("name", value = LETTERS[1:10]) V(g) V(g)[[]] V(g)[1:5] V(g)[[1:5]] </pre> <hr /><div style="text-align: center;">[Package <em>igraph</em> version 1.3.5 <a href="00Index.html">Index</a>]</div> </body></html>