gf_scc: Strongly connected components

Description Usage Arguments Examples

Description

Compute the strongly connected component (SCC) of each vertex and return a DataFrame with each vertex assigned to the SCC containing that vertex.

Usage

1
gf_scc(x, max_iter, ...)

Arguments

x

An object coercable to a GraphFrame (typically, a gf_graphframe).

max_iter

Maximum number of iterations.

...

Optional arguments, currently not used.

Examples

1
2
3
4
5
## Not run: 
g <- gf_friends(sc)
gf_scc(g, max_iter = 10)

## End(Not run)

graphframes documentation built on May 2, 2019, 9:14 a.m.