igraph-es-indexing2 | R Documentation |
The double bracket operator can be used on edge sequences, to print the meta-data (edge attributes) of the edges in the sequence.
## S3 method for class 'igraph.es'
x[[...]]
x |
An edge sequence. |
... |
Additional arguments, passed to |
Technically, when used with edge sequences, the double bracket operator does exactly the same as the single bracket operator, but the resulting edge sequence is printed differently: all attributes of the edges in the sequence are printed as well.
See [.igraph.es
for more about indexing edge sequences.
Another edge sequence, with metadata printing turned on. See details below.
Other vertex and edge sequences:
E()
,
V()
,
as_ids()
,
igraph-es-attributes
,
igraph-es-indexing
,
igraph-vs-attributes
,
igraph-vs-indexing
,
igraph-vs-indexing2
,
print.igraph.es()
,
print.igraph.vs()
Other vertex and edge sequence operations:
c.igraph.es()
,
c.igraph.vs()
,
difference.igraph.es()
,
difference.igraph.vs()
,
igraph-es-indexing
,
igraph-vs-indexing
,
igraph-vs-indexing2
,
intersection.igraph.es()
,
intersection.igraph.vs()
,
rev.igraph.es()
,
rev.igraph.vs()
,
union.igraph.es()
,
union.igraph.vs()
,
unique.igraph.es()
,
unique.igraph.vs()
g <- make_(
ring(10),
with_vertex_(name = LETTERS[1:10]),
with_edge_(weight = 1:10, color = "green")
)
E(g)
E(g)[[]]
E(g)[[.inc("A")]]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.