Home

Awesome

ggnet: network visualization with ggplot2

This repository contains the latest versions of the ggnet and ggnet2 functions, which allow to visualize networks as ggplot2 objects.

INSTALL

ggnet and ggnet2 are part of the GGally package. Install it from CRAN:

install.packages("GGally")

You can also install ggnet and ggnet2 as a small standalone package:

devtools::install_github("briatte/ggnet")

Note that you will need the latest version of ggplot2 (2.0.0) for any of the functions to work properly.

VIGNETTE

The ggnet2 function is fully documented in this vignette.

The data for one of the examples, a Twitter network of French Members of Parliament, is included in this repository, as is the vignette source.

THANKS