netGDD: Calculate the Graphlet degree distribution (GDD) agreement...

Description Usage Arguments Details Value Examples

Description

Calculate the Graphlet degree distribution (GDD) agreement between two networks

Usage

1
netGDD(net1, net2, mean = "arithmetic", i2inc = T)

Arguments

net1

The input network, which should be one of incgraph and igraph objects

net2

The input network, which should be one of incgraph and igraph objects

mean

"arithmetic" or "geometric" mean to be used

i2inc

Whether the input graph object should to transformed into incgraph object

Details

netGDD(net1,net2,mean='arithmetic',i2inc=T)

Value

Agreement value between 0 and 1

Examples

1
2
3
4
5
6
7
 nodes <-names(igraph::V(databases.net))

 net1 <-subnet(databases.net,sample(nodes,100))

 net2 <-subnet(databases.net,sample(nodes,100))

 netGDD(net1,net2)

QiliShi/NetworkSim documentation built on July 23, 2019, 12:46 a.m.