iterateComplete: Complete iteration with node attributes, random removal, and...

Description Usage Arguments Author(s) Examples

Description

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.

Usage

1
iterateComplete(net.object, attribute="color", net.iterate = "min", plot.estimators = TRUE)

Arguments

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.

Author(s)

Marco T. Bastos

Examples

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)

toledobastos/iterateNetwork documentation built on May 31, 2019, 5:14 p.m.