simulate.random.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
11
## S3 method for class 'random.diffusion'
simulate(
  j,
  p.infection,
  pct.starting.infected,
  n,
  threshold,
  runs = 10000,
  master_data = fread("output/undirected/master_measures_2.csv")[, c("Name",
    "NetworkDomain", "Edges", "Nodes")]
)

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.