ic_spread: Calculates spread under IC model

ic_spreadR Documentation

Calculates spread under IC model

Description

Calculates spread under IC model

Usage

ic_spread(graph, seed, runs = 100)

Arguments

graph

is the weighted igraph object

seed

is a set of seed (initial nodes)

runs

is the number of times the loop should run

Value

output average spread

Examples

{
graph <- erdos.renyi.game(500, 0.005)
ic_spread(graph, seed=c(2,5,9,23), runs=10)
}

seekme94/influence.mining documentation built on Aug. 2, 2022, 10:19 p.m.