attack | R Documentation |
Execute the specified attack and the random attack
attack(attack, measure, graph)
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 |
dataframe scores for density, average path length, number of components, transitivity, centralization, and cluster sizes after each node removal
Daniel Castro
##---- 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)
{
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.