This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

PageRankVector

PageRankVector[g]
returns the page rank of the graph g.
  • The following options can be given:
ToleranceAutomaticthe tolerance that should be allowed in computing results
TeleportProbability0.15the probability that an internet user may choose to visit a vertex at random instead of choosing an outlink
RemoveSinksTruewhether sinks (a sink is a vertex with no outer links) are removed by linking with all vertices
  • calculates the page rank of nodes in a directed graph and returns them as a vector. The ordering of the vector is the same as that of VertexList.
This shows a small network of web pages:
This calculates the page ranks:
This replots the network with page rank information:
This shows a small network of web pages:
Needs["GraphUtilities`"]
In[2]:=
Click for copyable input
In[3]:=
Click for copyable input
Out[3]=
This calculates the page ranks:
In[4]:=
Click for copyable input
Out[4]=
This replots the network with page rank information:
In[5]:=
Click for copyable input
Out[5]=