simulate.removed.loops.diffusion: Simulate diffusion on network

Description Usage Arguments Value

Description

Simulate diffusion on network

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## S3 method for class 'removed.loops.diffusion'
simulate(
  j,
  p.infection,
  pct.starting.infected,
  n,
  threshold,
  runs = 10000,
  master_data = fread("removed_loops/output/master_measures_removed_loops.csv")[, 2:5]
)

Arguments

j

network index (corresponds to 'Name' column in master_data)

p.infection

probability of infection

pct.starting.infected

percentage of nodes starting infected

n

number of repetitions of diffusion

Value

number of infection iterations for 70


MattiaGirardi1997/Understanding-Complex-Networks documentation built on Feb. 26, 2021, 12:23 a.m.