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)

PAFit documentation built on June 22, 2024, 11:06 a.m.