multilayer.ergm: Exponential Random Graph Models for Multilayer Networks
Version 0.2.1 has been released. This version adds the ability to
attr for the
duplexdyad multilayer term.
Version 0.2.0 has been released. This version updates the interface with
Version 0.1.6 has been released. This version ensures reproduction of the results in the package’s companion paper published in Political Science Research and Method.
This package extends the exponential random graph model (ERGM) to multilayer networks. For more information on the application of ERGMs to multilayer networks, see Chen, 2021, “Statistical Inference for Multilayer Networks in Political Science.” Political Science Research and Methods 9(2).
To install the package from
GitHub, you will need the
devtools package. If you are on a Windows machine, you will also need
the standalone Rtools.
If you do not already have the
multilayer.ergm will install them as well.
Install the package by entering the following into your R console. The
build_opts can be removed entirely if you do not require the
devtools::install_github("tedhchen/multilayer.ergm", build_opts = c("--no-resave-data", "--no-manual"))
Once installed, the package tutorial can be accessed by entering
vignette('policy_multiplex') into your R console. The tutorial can
also be accessed at my