network_propagation: Network propagation

View source: R/network_propagation.R

network_propagationR Documentation

Network propagation

Description

Network propagation

Usage

network_propagation(
  F0,
  A,
  alpha = 0.7,
  nMax = 10000,
  eps = 1e-06,
  final.smooth = FALSE,
  all.steps = FALSE,
  verbose = FALSE
)

Arguments

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 eps

final.smooth

TRUE/FALSE, whether to do the final step of smoothing

all.steps

TRUE/FALSE, whether to store all steps

verbose

TRUE/FALSE

Value

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.


emosca-cnr/dmfind002 documentation built on May 16, 2024, 10:44 p.m.