Description Usage Arguments Examples
View source: R/MultiAttackOrder.R
This function takes an igraph object and returns a dataframe where each row represents a node/edge deletion order. It is used for simulating a large amount of random attacks in a reproducible way.
1 | MultiAttackOrder(g, Target = "Nodes", Sims, Name = "name")
|
g |
an igraph object. |
Target |
whether Edges or Nodes will be attacked |
Sims |
the number of attack simulations to be performed |
Name |
The attribute name of the target |
1 | ExampleTargets <- MultiAttackOrder(g, 100)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.