densityLayers.multiplex: Layers' density of the multiplex network

Description Usage Arguments Value References See Also Examples

Description

Calculates the density of the (intra)layers of the multiplex network, combining the graph.multiplex and igraph's density functions.

Usage

1

Arguments

obj

An object of class multiplex.

Value

A list with the densities of the nodes for each (intra)layer of the multiplex network.

References

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

See Also

create.multiplex, graph.density

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
# 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 density on the 5 intralayers of the multiplex network.
# We see, for example, that "lunch" and "work" are the denser intralayers, while "coauthor"
# is the less dense.

densityLayers.multiplex(mplexObj)

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