Multilevel Networks Analysis

Analyze multilevel networks as described in Lazega et al (2008) and in Lazega and Snijders (2016, ISBN:978-3-319-24520-1). The package was developed essentially as an extension to 'igraph'.

Project Status: Active – The project has reached a stable, usablestate and is being activelydeveloped. Licence BuildStatus

minimal Rversion CRAN_Status_Badge packageversion


multinets is an R package that provides tools to visualize and analyze Multilevel Network Data. It was built as an extension to the igraph package.

The multinets package is on CRAN. It is developed under control version using Git and is hosted in GitHub. You can download it from CRAN using:


You can download the development version from GitHub using devtools:

# install.packages("devtools")


As a basic example, we will plot a multilevel network. We are going to use linked_sim, a simulated multilevel network dataset.

#> Attaching package: 'igraph'
#> The following objects are masked from 'package:stats':
#>     decompose, spectrum
#> The following object is masked from 'package:base':
#>     union
#> multinets was developed by Neylson Crepalde as an extension to 'igraph'
# Load the dataset
# Test if the data is a multilevel network
#> [1] TRUE
# Set the layout coordinates
l <- layout_multilevel(linked_sim, layout = layout_with_kk)
# Set different colors and shapes for each level vertices
linked_sim <- set_color_multilevel(linked_sim)
linked_sim <- set_shape_multilevel(linked_sim)
# Plot
plot(linked_sim, layout = l, vertex.size = 5, vertex.label = NA)


multinets 0.2.1

  • bug fix - correct package imports in DESCRIPTION file ("igraphdata").

multinets 0.2.0

  • enhance set_color_multilevel. Cpp code set colors to nodes and edges.


  • small enhance set_color_multilevel using cpp. Cpp code only sets colors to nodes, not yet to edges.


  • bug fix - issue #1 - fix if statement with condition length > 1. Changed chain of if statements in mode_transformation to a switch and included an error raise when which argument is missing.

  • enhance set_shape_multilevel performance with cpp code.

  • include Rcpp in the project.

multinets 0.1.0

  • First release

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.2.2 by Neylson Crepalde, 2 years ago

Report a bug at

Browse source code at

Authors: Neylson Crepalde [aut, cre]

Documentation:   PDF Manual  

GPL-3 license

Imports igraph, Rcpp

Suggests sand, statnet, data.table, testthat, igraphdata

Linking to Rcpp

See at CRAN