gf_star: Generate a star graph

Description Usage Arguments Examples

View source: R/gf_examples.R

Description

Returns a star graph with Long ID type, consisting of a central element indexed 0 (the root) and the n other leaf vertices 1, 2, ..., n.

Usage

1
gf_star(sc, n)

Arguments

sc

A Spark connection.

n

The number of leaves.

Examples

1
2
3
4
## Not run: 
gf_star(sc, 5)

## End(Not run)

rstudio/graphframes documentation built on May 17, 2019, 8:44 p.m.