to_igraph: Convert a PAFit_net object to an igraph object

View source: R/to_igraph.R

to_igraphR Documentation

Convert a PAFit_net object to an igraph object

Description

This function converts a PAFit_net object to an igraph object (of package igraph).

Usage

to_igraph(net_object)

Arguments

net_object

An object of class PAFit_net.

Value

The function returns an igraph object.

Author(s)

Thong Pham thongphamthe@gmail.com

Examples

library("PAFit")
# a network from Bianconi-Barabasi model
net          <- generate_BB(N = 50 , m = 10 , s = 10)
igraph_graph <- to_igraph(net)

thongphamthe/PAFit documentation built on March 30, 2024, 4:14 p.m.