Description Usage Arguments Value Author(s) References Examples

This function generates a complex network from the Barabasi-Albert model and a random order to create a random network.

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. |

`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. |

An three-column matrix containing the generated network.

Thong Pham [email protected]

1. Pham, T. and Sheridan, P. and Shimodaira, H. (2015). mcPAFit: Nonparametric Measurement of Preferential Attachment and Fitness from a Single Network Snapshot. Conference on Complex Systems 2015, September 2015, Arizona.

1 2 | ```
library("mcPAFit")
data <- simple_net(100) # Time-steps = 100
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.