to_igraph {PAFit}R 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)

[Package PAFit version 1.2.10 Index]