weightd_random_walk | R Documentation |
Weighted Random Walk algorithm
weightd_random_walk(graph, startNode, maxStep = 5, node_names = FALSE)
graph |
an igraph object |
startNode |
the starting node (i.e. a node name or a node index) |
maxStep |
maximum number steps (default:5) |
node_names |
a list of names for nodes |
The set of nodes passed by the random walker.
data = example_data()
nodePath = weightd_random_walk(graph = data[["igraph_example"]], startNode = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.