R Under development (unstable) (2024-03-25 r86192 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > #testing generate_net, get_statistics, Jeong, Newman_corrected and PAFit > #set.seed(1) > library(PAFit) > for (prob_m in c("TRUE", "FALSE")) + for (inc in c("TRUE","FALSE")) + for (log in c("TRUE", "FALSE")) + + for (i in 1:1) { + net <- generate_net(N = 50, m = 10,prob_m = prob_m, increase = inc, log = log, + mode = i, s = 10) + net_stats <- get_statistics(net,deg_threshold = 1, binning = TRUE, g = 10) + result_Jeong <- Jeong(net , net_stats, T_0_start = 0, T_0_end = 20, T_1_start = 30) + plot(result_Jeong,net_stats) + plot(result_Jeong,net_stats, line = TRUE) + print(result_Jeong) + summary(result_Jeong) + + result_Jeong <- Jeong(net,net_stats, T_0_start = 0, T_0_end = 20, T_1_start = 30) + print(result_Jeong) + summary(result_Jeong) + plot(result_Jeong,net_stats) + plot(result_Jeong,net_stats, line = TRUE) + + result_Newman <- Newman(net, net_stats) + print(result_Newman) + summary(result_Newman) + plot(result_Newman,net_stats) + plot(result_Newman,net_stats, line = TRUE) + result_Newman <- Newman(net, net_stats, interpolate = TRUE) + print(result_Newman) + summary(result_Newman) + plot(result_Newman,net_stats) + plot(result_Newman,net_stats, line = TRUE) + + } Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.6839236 Attachment exponent ± 2 s.d. : (-3.879424,5.247271) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.6839236 Attachment exponent ± 2 s.d.: (-3.879424,5.247271) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.6839236 Attachment exponent ± 2 s.d. : (-3.879424,5.247271) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.6839236 Attachment exponent ± 2 s.d.: (-3.879424,5.247271) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.065978 Attachment exponent ± 2 s.d. : (0.8380355,1.293921) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.065978 Attachment exponent ± 2 s.d.: (0.8380355,1.293921) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.065978 Attachment exponent ± 2 s.d. : (0.8380355,1.293921) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.065978 Attachment exponent ± 2 s.d.: (0.8380355,1.293921) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.7663526 Attachment exponent ± 2 s.d. : (0.3368226,1.195883) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.7663526 Attachment exponent ± 2 s.d.: (0.3368226,1.195883) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.7663526 Attachment exponent ± 2 s.d. : (0.3368226,1.195883) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.7663526 Attachment exponent ± 2 s.d.: (0.3368226,1.195883) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.007169 Attachment exponent ± 2 s.d. : (0.9619578,1.05238) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.007169 Attachment exponent ± 2 s.d.: (0.9619578,1.05238) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.007169 Attachment exponent ± 2 s.d. : (0.9619578,1.05238) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.007169 Attachment exponent ± 2 s.d.: (0.9619578,1.05238) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.037005 Attachment exponent ± 2 s.d. : (0.4068401,1.66717) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.037005 Attachment exponent ± 2 s.d.: (0.4068401,1.66717) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.037005 Attachment exponent ± 2 s.d. : (0.4068401,1.66717) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.037005 Attachment exponent ± 2 s.d.: (0.4068401,1.66717) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.090593 Attachment exponent ± 2 s.d. : (0.9409451,1.24024) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.090593 Attachment exponent ± 2 s.d.: (0.9409451,1.24024) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.090593 Attachment exponent ± 2 s.d. : (0.9409451,1.24024) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.090593 Attachment exponent ± 2 s.d.: (0.9409451,1.24024) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.7145509 Attachment exponent ± 2 s.d. : (0.3772246,1.051877) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.7145509 Attachment exponent ± 2 s.d.: (0.3772246,1.051877) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.7145509 Attachment exponent ± 2 s.d. : (0.3772246,1.051877) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.7145509 Attachment exponent ± 2 s.d.: (0.3772246,1.051877) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.9817951 Attachment exponent ± 2 s.d. : (0.84912,1.11447) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.9817951 Attachment exponent ± 2 s.d.: (0.84912,1.11447) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.9817951 Attachment exponent ± 2 s.d. : (0.84912,1.11447) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.9817951 Attachment exponent ± 2 s.d.: (0.84912,1.11447) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.622303 Attachment exponent ± 2 s.d. : (0.7869471,2.457659) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.622303 Attachment exponent ± 2 s.d.: (0.7869471,2.457659) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.622303 Attachment exponent ± 2 s.d. : (0.7869471,2.457659) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.622303 Attachment exponent ± 2 s.d.: (0.7869471,2.457659) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.125448 Attachment exponent ± 2 s.d. : (0.935049,1.315847) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.125448 Attachment exponent ± 2 s.d.: (0.935049,1.315847) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.125448 Attachment exponent ± 2 s.d. : (0.935049,1.315847) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.125448 Attachment exponent ± 2 s.d.: (0.935049,1.315847) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.13062 Attachment exponent ± 2 s.d. : (1.022795,1.238446) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.13062 Attachment exponent ± 2 s.d.: (1.022795,1.238446) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.13062 Attachment exponent ± 2 s.d. : (1.022795,1.238446) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.13062 Attachment exponent ± 2 s.d.: (1.022795,1.238446) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.095269 Attachment exponent ± 2 s.d. : (1.063966,1.126572) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.095269 Attachment exponent ± 2 s.d.: (1.063966,1.126572) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.095269 Attachment exponent ± 2 s.d. : (1.063966,1.126572) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.095269 Attachment exponent ± 2 s.d.: (1.063966,1.126572) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.5725284 Attachment exponent ± 2 s.d. : (0.2645544,0.8805025) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.5725284 Attachment exponent ± 2 s.d.: (0.2645544,0.8805025) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.5725284 Attachment exponent ± 2 s.d. : (0.2645544,0.8805025) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.5725284 Attachment exponent ± 2 s.d.: (0.2645544,0.8805025) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.8405725 Attachment exponent ± 2 s.d. : (0.7239215,0.9572234) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.8405725 Attachment exponent ± 2 s.d.: (0.7239215,0.9572234) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.8405725 Attachment exponent ± 2 s.d. : (0.7239215,0.9572234) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.8405725 Attachment exponent ± 2 s.d.: (0.7239215,0.9572234) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.879041 Attachment exponent ± 2 s.d. : (-0.07286285,1.830945) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.879041 Attachment exponent ± 2 s.d.: (-0.07286285,1.830945) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.879041 Attachment exponent ± 2 s.d. : (-0.07286285,1.830945) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.879041 Attachment exponent ± 2 s.d.: (-0.07286285,1.830945) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.9091484 Attachment exponent ± 2 s.d. : (0.8132367,1.00506) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.9091484 Attachment exponent ± 2 s.d.: (0.8132367,1.00506) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.9091484 Attachment exponent ± 2 s.d. : (0.8132367,1.00506) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.9091484 Attachment exponent ± 2 s.d.: (0.8132367,1.00506) > > > proc.time() user system elapsed 1.50 0.26 1.75