Learn R Programming

wdnet (version 1.2.3)

wdnet_to_igraph: Converts a wdnet object to an igraph object

Description

Converts a wdnet object to an igraph object

Usage

wdnet_to_igraph(netwk)

Value

An igraph object.

Arguments

netwk

A wdnet object.

Examples

Run this code
netwk <- rpanet(nstep = 1e3)
g <- wdnet_to_igraph(netwk)

Run the code above in your browser using DataLab