library(graphframes)
<- gf_friends(sc)
g gf_pagerank(g, reset_probability = 0.15, tol = 0.01)
PageRank
R/gf_pagerank.R
gf_pagerank
Description
PageRank
Usage
gf_pagerank(x, tol = NULL, reset_probability = 0.15, max_iter = NULL,
source_id = NULL, ...)
Arguments
Arguments | Description |
---|---|
x | An object coercable to a GraphFrame (typically, a gf_graphframe ). |
tol | Tolerance. |
reset_probability | Reset probability. |
max_iter | Maximum number of iterations. |
source_id | (Optional) Source vertex for a personalized pagerank. |
… | Optional arguments, currently not used. |