from_networkDynamic: Convert a networkDynamic object to a PAFit_net object

View source: R/from_networkDynamic.R

from_networkDynamicR Documentation

Convert a networkDynamic object to a PAFit_net object

Description

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

Usage

  from_networkDynamic(net)

Arguments

net

An object of class networkDynamic.

Value

The function returns a PAFit_net 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)
nD_graph     <- to_networkDynamic(net)
back         <- from_networkDynamic(nD_graph)

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