Learn R Programming

wdnet (version 1.2.3)

igraph_to_wdnet: Converts an igraph object to a wdnet object

Description

Converts an igraph object to a wdnet object

Usage

igraph_to_wdnet(g)

Value

A wdnet object.

Arguments

g

An igraph object.

Examples

Run this code
g <- igraph::sample_pa(50)
netwk <- igraph_to_wdnet(g)

Run the code above in your browser using DataLab