View source: R/network_propagation.R
network_propagation | R Documentation |
Network propagation
network_propagation(
F0,
A,
alpha = 0.7,
nMax = 10000,
eps = 1e-06,
final.smooth = FALSE,
all.steps = FALSE,
verbose = FALSE
)
F0 |
vector or matrix composed of column vectors with initial distribution of information |
A |
normalized adjacency matrix |
alpha |
numeric, the smothing factor |
nMax |
numeric, maximum number of iterations |
eps |
numeric, the iteration will stop when the maximum difference between matrix Ft between two consecutive iteraction is smaller than |
final.smooth |
TRUE/FALSE, whether to do the final step of smoothing |
all.steps |
TRUE/FALSE, whether to store all steps |
verbose |
TRUE/FALSE |
a list with:
Ft
the smoothed matrix;
eps
see above;
max.abs.diff
max(abs(F_t) - abs(F_t-1));
Ft.all
transient Ft matrices.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.