Description Usage Arguments Examples
Returns a chain graph of the given size with Long ID type. The vertex IDs are 0, 1, ..., n-1, and the edges are (0, 1), (1, 2), ...., (n-2, n-1).
1 | gf_chain(sc, n)
|
sc |
A Spark connection. |
n |
Size of the graph to return. |
1 2 3 4 | ## Not run:
gf_chain(sc, 5)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.