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

Test the effect of node removal on the clustering coeffiencient

Description

This function tests the effect of the node removal on the clustering coefficient. The provided nodes (list) are removed. Please note the nodes are removed according with the order they appear on the provided list.

Usage

node.removal.cls.l(graph, v)

Arguments

graph Igraph network object
v List of nodes to be removed from the network

Details

Please note the nodes are defined according with the order they appear on the network and the first node is represented by the number 1 no 0. This differs from the Igraph object definition where 0 represents the first node of the network.

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

Author(s)

Domingo Vargas

Examples

data(test.net,package="netmodels")
v <- c(1:10)

vl <- node.removal.cls.l(test.net,v)

[Package netmodels version 0.2 Index]