Description Usage Arguments Value Author(s) Examples
View source: R/distributionComp.R
Transition Matrix computation
1 | getTransitionmatrix(g, walk = 1)
|
g |
graph in igraph format |
walk |
random walk distance (default=1) |
Transition matrix of specified walk
Ichcha Manipur & Mario R Guarracino
1 2 3 4 5 6 | ## Not run:
g <- igraph::make_tree(10, mode = "out")
# calculate one walk transition probability matrix
# For n walk matrix change the 'walk' parameter to n
getTransitionmatrix(g, walk = 1)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.