PageRank
gf_pagerank(x, tol = NULL, reset_probability = 0.15, max_iter = NULL, source_id = NULL, ...)
An object coercable to a GraphFrame (typically, a gf_graphframe).
gf_graphframe
Tolerance.
Reset probability.
Maximum number of iterations.
(Optional) Source vertex for a personalized pagerank.
Optional arguments, currently not used.
# NOT RUN { g <- gf_friends(sc) gf_pagerank(g, reset_probability = 0.15, tol = 0.01) # }
Run the code above in your browser using DataLab