node.removal.cls.r {netmodels}R Documentation

Test the effect of random node removal on the clustering coeffiencient

Description

This function tests the effect of the random node removal on the clustering coefficient. The nodes are selected randomly using the lineal random number generator provided by R.

Usage

node.removal.cls.r(graph, n)

Arguments

graph Igraph network object
n Number of nodes to be randomly removed

Details

Value

List object containing two objects:

$cls a vector with the clustering coefficient after n-node removal
$graph Igraph network object describing the resulting network

Note

Author(s)

Domingo Vargas

References

See Also

Examples


data(test.net,package="netmodels")

vl <- node.removal.cls.r(test.net,42)

[Package netmodels version 0.1 Index]