View source: R/from_networkDynamic.R
from_networkDynamic | R Documentation |
This function converts a networkDynamic
object (of package networkDynamic) to a PAFit_net
object.
from_networkDynamic(net)
net |
An object of class |
The function returns a PAFit_net
object.
Thong Pham thongphamthe@gmail.com
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.