gf_pagerank: PageRank

Description Usage Arguments Examples

Description

PageRank

Usage

1
2
gf_pagerank(x, tol = NULL, reset_probability = 0.15, max_iter = NULL,
  source_id = NULL, ...)

Arguments

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.

Examples

1
2
3
4
5
## Not run: 
g <- gf_friends(sc)
gf_pagerank(g, reset_probability = 0.15, tol = 0.01)

## End(Not run)

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