ggnetwork: Fortify network objects.

View source: R/ggnetwork.R

ggnetworkR Documentation

Fortify network objects.

Description

A wrapper for the fortify.network and fortify.igraph functions that will also try to coerce matrices and data frames to network objects.

Usage

ggnetwork(x, ...)

Arguments

x

an object of class network or igraph, or any object that can be coerced to that class, such as an adjacency or incidence matrix, or an edge list: see edgeset.constructors and network for details.

...

arguments passed to the fortify.network or fortify.igraph functions.


ggnetwork documentation built on March 7, 2023, 7:02 p.m.