Description Usage Arguments Value
View source: R/misc-utilities.R
Given a vertex sequence (class igraph.vs), selects the first, last, or a random vertex from the sequence
1 2 3 4 5 |
g |
igraph object |
s |
an object of class igraph.vs |
the index of a vertex from the sequence
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.