rep_random_walk | R Documentation |
Repetitive Fixed-length (weighted) random walk algorithm
rep_random_walk(
graph,
Nrep = 100,
Nstep = 5,
weighted_walk = TRUE,
verbose = TRUE
)
graph |
an igraph object |
Nrep |
number of repeats (default:100) |
Nstep |
maximum number steps (default:5) |
weighted_walk |
choose the weighted walk algorithm if TRUE and simple random walk if FALSE. (default: TRUE) |
verbose |
if TRUE a progress bar is shown. |
Steps (S): The total number of times a node is visited starting from the corresponding node in the row. Probabilities (P): The node visit probabilities starting from the corresponding node in the row.
data = example_data()
RW = rep_random_walk(graph = data[["igraph_example"]])
Steps = RW[["Steps"]]
Probabilities = RW[["Probabilities"]]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.