Description Usage Arguments Value Author(s) Examples
This function generates a complex network from the Simple Growth model.
1 2 3 4 5 | simple_net(time_step,
num_seed = 2 ,
p = 0.5 ,
alpha = 1 ,
alpha_out = 0 )
|
time_step |
Integer. Indicates the number of time-steps. |
num_seed |
Integer. Number of nodes in the initial network. Fixed at |
p |
Numeric. Proportion of number of nodes. |
alpha |
Numeric. The attachment exponent for the in-degree. |
alpha_out |
Numeric. The attachment exponent for the out-degree. Fixed at |
An three-column matrix containing the generated network.
Thong Pham thongpham@thongpham.net
1 2 | library("mcPAFit")
data <- simple_net(100) # Time-steps = 100
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.