BCA | R Documentation |
This function calculates a teleportation vector from a given starting node to other nodes in a given network.
BCA(graph, v, retentionCoefficient = 0.4, tol = 0.001)
graph |
an object of type |
v |
a starting vertex from the above graph. Can be either its identifier or a igraph.vs object. |
retentionCoefficient |
the restart probability for each node. |
tol |
a tolerance treshold, indicating what the smalltest value of color is, that should propagate further |
a preference/teleportation vector
Berkhin2006Raspository
library(igraph)
g <- make_ring(5)
preferenceVector <- BCA(g, 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.