Learn R Programming

PAFit (version 1.2.10)

to_networkDynamic: Convert a PAFit_net object to a networkDynamic object

Description

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

Usage

to_networkDynamic(net_object)

Value

The function returns a networkDynamic object.

Arguments

net_object

An object of class PAFit_net.

Author

Thong Pham thongphamthe@gmail.com

Examples

Run this code
  library("PAFit")
  # a network from Bianconi-Barabasi model
  net          <- generate_BB(N = 50 , m = 10 , s = 10)
  nD_graph     <- to_networkDynamic(net)

Run the code above in your browser using DataLab