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: 1.810353 Attachment exponent ± 2 s.d. : (-6.025461,9.646167) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.810353 Attachment exponent ± 2 s.d.: (-6.025461,9.646167) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.810353 Attachment exponent ± 2 s.d. : (-6.025461,9.646167) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.810353 Attachment exponent ± 2 s.d.: (-6.025461,9.646167) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.10656 Attachment exponent ± 2 s.d. : (0.924261,1.288859) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.10656 Attachment exponent ± 2 s.d.: (0.924261,1.288859) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.10656 Attachment exponent ± 2 s.d. : (0.924261,1.288859) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.10656 Attachment exponent ± 2 s.d.: (0.924261,1.288859) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.9594083 Attachment exponent ± 2 s.d. : (0.4887923,1.430024) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.9594083 Attachment exponent ± 2 s.d.: (0.4887923,1.430024) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.9594083 Attachment exponent ± 2 s.d. : (0.4887923,1.430024) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.9594083 Attachment exponent ± 2 s.d.: (0.4887923,1.430024) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.153391 Attachment exponent ± 2 s.d. : (1.032196,1.274587) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.153391 Attachment exponent ± 2 s.d.: (1.032196,1.274587) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.153391 Attachment exponent ± 2 s.d. : (1.032196,1.274587) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.153391 Attachment exponent ± 2 s.d.: (1.032196,1.274587) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.7065118 Attachment exponent ± 2 s.d. : (0.1847627,1.228261) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.7065118 Attachment exponent ± 2 s.d.: (0.1847627,1.228261) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.7065118 Attachment exponent ± 2 s.d. : (0.1847627,1.228261) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.7065118 Attachment exponent ± 2 s.d.: (0.1847627,1.228261) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.9633591 Attachment exponent ± 2 s.d. : (0.8528245,1.073894) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.9633591 Attachment exponent ± 2 s.d.: (0.8528245,1.073894) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.9633591 Attachment exponent ± 2 s.d. : (0.8528245,1.073894) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.9633591 Attachment exponent ± 2 s.d.: (0.8528245,1.073894) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.059244 Attachment exponent ± 2 s.d. : (-0.04724745,2.165736) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.059244 Attachment exponent ± 2 s.d.: (-0.04724745,2.165736) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.059244 Attachment exponent ± 2 s.d. : (-0.04724745,2.165736) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.059244 Attachment exponent ± 2 s.d.: (-0.04724745,2.165736) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.007254 Attachment exponent ± 2 s.d. : (0.8058761,1.208631) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.007254 Attachment exponent ± 2 s.d.: (0.8058761,1.208631) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.007254 Attachment exponent ± 2 s.d. : (0.8058761,1.208631) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.007254 Attachment exponent ± 2 s.d.: (0.8058761,1.208631) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.5219845 Attachment exponent ± 2 s.d. : (-0.4852605,1.52923) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.5219845 Attachment exponent ± 2 s.d.: (-0.4852605,1.52923) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.5219845 Attachment exponent ± 2 s.d. : (-0.4852605,1.52923) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.5219845 Attachment exponent ± 2 s.d.: (-0.4852605,1.52923) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.9758665 Attachment exponent ± 2 s.d. : (0.7448607,1.206872) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.9758665 Attachment exponent ± 2 s.d.: (0.7448607,1.206872) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.9758665 Attachment exponent ± 2 s.d. : (0.7448607,1.206872) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.9758665 Attachment exponent ± 2 s.d.: (0.7448607,1.206872) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.8471213 Attachment exponent ± 2 s.d. : (0.4277765,1.266466) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.8471213 Attachment exponent ± 2 s.d.: (0.4277765,1.266466) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.8471213 Attachment exponent ± 2 s.d. : (0.4277765,1.266466) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.8471213 Attachment exponent ± 2 s.d.: (0.4277765,1.266466) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.043373 Attachment exponent ± 2 s.d. : (0.9410711,1.145674) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.043373 Attachment exponent ± 2 s.d.: (0.9410711,1.145674) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.043373 Attachment exponent ± 2 s.d. : (0.9410711,1.145674) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.043373 Attachment exponent ± 2 s.d.: (0.9410711,1.145674) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.8847582 Attachment exponent ± 2 s.d. : (0.4096963,1.35982) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.8847582 Attachment exponent ± 2 s.d.: (0.4096963,1.35982) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.8847582 Attachment exponent ± 2 s.d. : (0.4096963,1.35982) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.8847582 Attachment exponent ± 2 s.d.: (0.4096963,1.35982) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.9338681 Attachment exponent ± 2 s.d. : (0.80221,1.065526) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.9338681 Attachment exponent ± 2 s.d.: (0.80221,1.065526) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.9338681 Attachment exponent ± 2 s.d. : (0.80221,1.065526) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.9338681 Attachment exponent ± 2 s.d.: (0.80221,1.065526) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.129576 Attachment exponent ± 2 s.d. : (-0.7250057,2.984157) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.129576 Attachment exponent ± 2 s.d.: (-0.7250057,2.984157) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.129576 Attachment exponent ± 2 s.d. : (-0.7250057,2.984157) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 1.129576 Attachment exponent ± 2 s.d.: (-0.7250057,2.984157) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.8679299 Attachment exponent ± 2 s.d. : (0.7419379,0.9939219) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.8679299 Attachment exponent ± 2 s.d.: (0.7419379,0.9939219) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.8679299 Attachment exponent ± 2 s.d. : (0.7419379,0.9939219) Containing the estimated attachment function. Number of bins: 10 Estimated attachment exponent: 0.8679299 Attachment exponent ± 2 s.d.: (0.7419379,0.9939219) > > > proc.time() user system elapsed 1.45 0.29 1.75