R version 4.4.0 alpha (2024-03-26 r86209 ucrt) 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.4368314 Attachment exponent ± 2 s.d. : (-7.422194,8.295857) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.4368314 Attachment exponent ± 2 s.d.: (-7.422194,8.295857) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.4368314 Attachment exponent ± 2 s.d. : (-7.422194,8.295857) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.4368314 Attachment exponent ± 2 s.d.: (-7.422194,8.295857) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.026693 Attachment exponent ± 2 s.d. : (0.7892683,1.264118) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.026693 Attachment exponent ± 2 s.d.: (0.7892683,1.264118) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.026693 Attachment exponent ± 2 s.d. : (0.7892683,1.264118) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.026693 Attachment exponent ± 2 s.d.: (0.7892683,1.264118) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.7880277 Attachment exponent ± 2 s.d. : (-0.1793755,1.755431) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.7880277 Attachment exponent ± 2 s.d.: (-0.1793755,1.755431) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.7880277 Attachment exponent ± 2 s.d. : (-0.1793755,1.755431) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.7880277 Attachment exponent ± 2 s.d.: (-0.1793755,1.755431) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.025573 Attachment exponent ± 2 s.d. : (0.971677,1.079469) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.025573 Attachment exponent ± 2 s.d.: (0.971677,1.079469) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.025573 Attachment exponent ± 2 s.d. : (0.971677,1.079469) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.025573 Attachment exponent ± 2 s.d.: (0.971677,1.079469) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.4547976 Attachment exponent ± 2 s.d. : (0.4053334,0.5042618) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.4547976 Attachment exponent ± 2 s.d.: (0.4053334,0.5042618) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.4547976 Attachment exponent ± 2 s.d. : (0.4053334,0.5042618) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.4547976 Attachment exponent ± 2 s.d.: (0.4053334,0.5042618) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.9208217 Attachment exponent ± 2 s.d. : (0.7651523,1.076491) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.9208217 Attachment exponent ± 2 s.d.: (0.7651523,1.076491) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.9208217 Attachment exponent ± 2 s.d. : (0.7651523,1.076491) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.9208217 Attachment exponent ± 2 s.d.: (0.7651523,1.076491) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.7472326 Attachment exponent ± 2 s.d. : (0.01918082,1.475284) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.7472326 Attachment exponent ± 2 s.d.: (0.01918082,1.475284) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.7472326 Attachment exponent ± 2 s.d. : (0.01918082,1.475284) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.7472326 Attachment exponent ± 2 s.d.: (0.01918082,1.475284) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.9777727 Attachment exponent ± 2 s.d. : (0.8255054,1.13004) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.9777727 Attachment exponent ± 2 s.d.: (0.8255054,1.13004) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.9777727 Attachment exponent ± 2 s.d. : (0.8255054,1.13004) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.9777727 Attachment exponent ± 2 s.d.: (0.8255054,1.13004) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.8101957 Attachment exponent ± 2 s.d. : (0.09990792,1.520483) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.8101957 Attachment exponent ± 2 s.d.: (0.09990792,1.520483) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.8101957 Attachment exponent ± 2 s.d. : (0.09990792,1.520483) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.8101957 Attachment exponent ± 2 s.d.: (0.09990792,1.520483) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.084434 Attachment exponent ± 2 s.d. : (0.9896095,1.179259) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.084434 Attachment exponent ± 2 s.d.: (0.9896095,1.179259) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.084434 Attachment exponent ± 2 s.d. : (0.9896095,1.179259) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.084434 Attachment exponent ± 2 s.d.: (0.9896095,1.179259) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.12261 Attachment exponent ± 2 s.d. : (0.01637961,2.228841) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.12261 Attachment exponent ± 2 s.d.: (0.01637961,2.228841) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.12261 Attachment exponent ± 2 s.d. : (0.01637961,2.228841) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.12261 Attachment exponent ± 2 s.d.: (0.01637961,2.228841) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.053578 Attachment exponent ± 2 s.d. : (0.9954273,1.111728) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.053578 Attachment exponent ± 2 s.d.: (0.9954273,1.111728) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.053578 Attachment exponent ± 2 s.d. : (0.9954273,1.111728) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.053578 Attachment exponent ± 2 s.d.: (0.9954273,1.111728) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.9822256 Attachment exponent ± 2 s.d. : (0.4331191,1.531332) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.9822256 Attachment exponent ± 2 s.d.: (0.4331191,1.531332) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.9822256 Attachment exponent ± 2 s.d. : (0.4331191,1.531332) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.9822256 Attachment exponent ± 2 s.d.: (0.4331191,1.531332) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.135055 Attachment exponent ± 2 s.d. : (0.8154231,1.454687) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.135055 Attachment exponent ± 2 s.d.: (0.8154231,1.454687) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.135055 Attachment exponent ± 2 s.d. : (0.8154231,1.454687) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.135055 Attachment exponent ± 2 s.d.: (0.8154231,1.454687) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.9387947 Attachment exponent ± 2 s.d. : (0.3688658,1.508724) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.9387947 Attachment exponent ± 2 s.d.: (0.3688658,1.508724) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.9387947 Attachment exponent ± 2 s.d. : (0.3688658,1.508724) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.9387947 Attachment exponent ± 2 s.d.: (0.3688658,1.508724) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.074149 Attachment exponent ± 2 s.d. : (1.006247,1.142051) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.074149 Attachment exponent ± 2 s.d.: (1.006247,1.142051) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.074149 Attachment exponent ± 2 s.d. : (1.006247,1.142051) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.074149 Attachment exponent ± 2 s.d.: (1.006247,1.142051) > > > proc.time() user system elapsed 2.26 0.48 2.68