Description Usage Arguments Value
View source: R/randomAttackSingleNetwork.r
Random attack for single network
1 2 3 4 5 6 7 8 9 10 |
GRAPH |
a igraph object |
p |
the fraction of remaining nodes |
vids |
the selected initial attack nodes in the target and localized attack |
attack |
the type of attack for random, target and localized and motif, the attack by id can be proceeded by the localized attack |
mode |
whether to delete the outgoing incoming or both edges for selected nodes |
decreasing |
sort degree from large to small or not |
normalized |
the giant component size |
returnGRAPH |
a logical, whether return the remaining graph or not |
a number of the giant component node
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.