Description Usage Arguments Details Value Examples

Convert a vertex or edge sequence to an ordinary vector

1 2 3 4 5 6 7 |

`seq` |
The vertex or edge sequence. |

For graphs without names, a numeric vector is returned, containing the internal numeric vertex or edge ids.

For graphs with names, and vertex sequences, the vertex names are returned in a character vector.

For graphs with names and edge sequences, a character vector is
returned, with the ‘bar’ notation: `a|b`

means an edge from
vertex `a`

to vertex `b`

.

A character or numeric vector, see details below.

1 2 3 4 5 6 7 |

```
Attaching package: 'igraph'
The following objects are masked from 'package:stats':
decompose, spectrum
The following object is masked from 'package:base':
union
[1] 1 2 3 4 5 6 7 8 9 10
[1] 1 2 3 4 5 6 7 8 9 10
[1] "a" "b" "c" "d" "e" "f" "g" "h" "i" "j"
[1] "a|b" "b|c" "c|d" "d|e" "e|f" "f|g" "g|h" "h|i" "i|j" "a|j"
```

igraph documentation built on March 18, 2018, 1:24 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.