attack: Network Attack

View source: R/attack.R

attackR Documentation

Network Attack

Description

Execute the specified attack and the random attack

Usage

attack(attack, measure, graph)

Arguments

attack

normal or cascade

measure

strength, bridge strength, average control, modal control, degree, eigenvector, bridge expected influence 1-step. bridge expected influence 2-step, expected influence 1-step, expected influence 2-step

graph

igraph network

Value

dataframe scores for density, average path length, number of components, transitivity, centralization, and cluster sizes after each node removal

Author(s)

Daniel Castro

Examples

##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (x)
{
  }

danielcastro86/psychNetsAttack documentation built on Jan. 31, 2025, 8:14 p.m.