degreeDistribution.multiplex: Layers' degrees' distribution of the multiplex network

Description Usage Arguments Details Value References See Also Examples

Description

This function calculates the degree distribution of the nodes on each (intra)layer of the multiplex network, combining the graph.multiplex and igraph's degree.distribution functions.

Usage

1

Arguments

obj

An object of class multiplex.

Details

For (intra)layers with directed relationships, the function considers 'total degree' descriptors. Degrees' distribution shows, for each (intra)layer of the network, the maximum degree on each layer and the percentage of a certain degree in the total distribution of the (intra)layer.

Value

A list with, for each (intra)layer, the degrees' distribution.

References

Wassermann and Faust (1994), Social network analysis. Cambridge University Press.

See Also

create.multiplex, degree.distribution

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Loading Aarhus CS Department dataset.

data(aarhus_mplex)

# Creating the multiplex object using the dataset loaded into aarhus_mplex object.

mplexObj <- create.multiplex(nodes = aarhus_mplex$nodes,
                            layersNames = aarhus_mplex$layerNames,
                            layer1 = aarhus_mplex$L1,
                            type1 = "undirected",
                            aarhus_mplex$L2,
                            aarhus_mplex$L3,
                            aarhus_mplex$L4,
                            aarhus_mplex$L5
                            )

# Calculating the degrees' distribution of the 61 nodes of the multiplex network, for each
# layer. We see, for example, that in the first intralayer (the "lunch" relationship),
# 0.0327 (3.27%) of the employees (2 =~ 61 * 0.0327) are linked to other 15 employees
# of the CS Aarhus Department.

degreeDistribution.multiplex(mplexObj)

Achab94/mplex documentation built on May 5, 2019, 11:46 a.m.