Description Usage Arguments Author(s) Examples
Description: The function iterateComplete takes an igraph or network object and proceeds to complete node removal based on node attributes, random removal, and degree removal.
1 | iterateComplete(net.object, attribute="color", net.iterate = "min", plot.estimators = TRUE)
|
net.object |
The network object. Accepts both igraph and network objects. |
attribute |
Required for running iterations over vertex/node attribute. |
net.iterate |
Defaults to low and defines the number of interations. Also accepts mid for half the potential iterations and max for all possible iterations and permutations. |
collapse.minor |
Defaults to 1 and defines the minimum number of nodes per subgroup in the selected attribute. Subgroups with fewer nodes than defined by collapse.minor will be grouped together with the label ETAL. |
plot.estimators |
Defaults to TRUE to include a plot of the estimates generated during iterations. |
Marco T. Bastos
1 2 3 4 | # Not run:
net.object <- barabasi.game(50)
V(net.object)$color <- ifelse(V(net.object)
iterateComplete(net.object, attribute="color", net.iterate = "min", plot.estimators = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.