Description Usage Arguments Value Author(s) Examples
View source: R/from_networkDynamic.R
This function converts a networkDynamic
object (of package networkDynamic) to a PAFit_net
object.
1 | from_networkDynamic(net)
|
net |
An object of class |
The function returns a PAFit_net
object.
Thong Pham thongphamthe@gmail.com
1 2 3 4 5 | 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.