Description Usage Arguments Details Value References See Also Examples
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.
1 |
obj |
An object of class |
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.
A list with, for each (intra)layer, the degrees' distribution.
Wassermann and Faust (1994), Social network analysis. Cambridge University Press.
create.multiplex
, degree.distribution
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.