simple_net: Generating simulated networks from the Simple Growth model

Description Usage Arguments Value Author(s) Examples

Description

This function generates a complex network from the Simple Growth model.

Usage

1
2
3
4
5
simple_net(time_step, 
           num_seed           = 2     , 
           p                  = 0.5   ,
           alpha              = 1     ,
           alpha_out          = 0   )

Arguments

time_step

Integer. Indicates the number of time-steps.

num_seed

Integer. Number of nodes in the initial network. Fixed at 2,

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

Value

An three-column matrix containing the generated network.

Author(s)

Thong Pham thongpham@thongpham.net

Examples

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

thongphamthe/mcPAFit documentation built on May 20, 2019, 10:23 p.m.