Statistical Analysis of Network Data with R, 2nd Edition
The new edition of this book provides an easily accessible introduction to the statistical analysis of network data using R. It has been fully revised and can be used as a stand-alone resource in which multiple R packages are used to illustrate how to conduct a wide range of network analyses, from basic manipulation and visualization, to summary and characterization, to modeling of network data. The central package is igraph, which provides extensive capabilities for studying network graphs in R. The new edition of this book includes an overhaul to recent changes in igraph and a new chapter on networked experiments. (If you are looking for code for the first edition of the book, you may find it archived here or on CRAN.)
Where to buy?
The sand package
The sand
package contains a collection of data sets used in the book. It also contains all code found in the book, organized by code chunks, and executable in an interactive fashion. It is available from CRAN, from where it can be installed with:
install.packages("sand")
Alternatively, it can be installed directly from here on github with:
devtools::install_github("kolaczyk/sand/sand")
(Note: You may need to install devtools
first if it is not already installed.)
The code
- Introduction
- Manipulating Network Data
- Visualizing Network Data
- Descriptive Analysis of Network Graph Characteristics
- Mathematical Models for Network Graphs
- Statistical Models for Network Graphs
- Network Topology Inference
- Modeling and Prediction for Processes on Network Graphs
- Analysis of Network Flow Data
- Networked Experiments
- Dynamic Networks
You can run the code interactively from within R, using the sand
package,
see ?sand
for the details.
Feedback
You can leave a comment, or ask a question in our issue tracker.