GetStatistics(data, net_type, only_PA,Binning, G, start_deg, deg_threshold,
CompressMode, CompressRatio, CustomTime)
0: No compression
1: Compressed by using a subset of time-steps. The time stamps in this subset are equally spaced. The size of this subset is $CompressRatio$ times the size of set of all time stamps.
2: Compressed by only starting from the first time-step when $CompressRatio*100$ percentages of the total number of edges (in the final state of the network) had already been added to the network.
3: This mode offers the most flexibility, but requires user to supply the time stamps in $CustomTime$. Only time stamps in this $CustomTime$ will be used. This mode can be used, for example, when investigating the change of the attachment function or node fitness in different time intervals.
2. Pham T, Sheridan P, Shimodaira H (2015) PAFit: A Statistical Method for Measuring Preferential Attachment in Temporal Complex Networks. PLoS ONE 10(9): e0137796. doi:10.1371/journal.pone.0137796 (http://dx.doi.org/10.1371/journal.pone.0137796)
library("PAFit")
data <- GenerateNet(N = 100,m = 1,mode = 1, alpha = 1, shape = 5, rate = 5)
stats <- GetStatistics(data$graph)
Run the code above in your browser using DataLab