遇见数据集

Replication package: Decision time is associated with future cooperation and social rewiring decisions in network public goods games

收藏
Zenodo2026-04-28 更新2026-05-26 收录
官方服务:

资源简介:

This is the replication package for the paper "Decision time is associated with future cooperation and social rewiring decisions in network public goods games". R version 4.5.1 and the following packages (and version numbers) were used to produce the results reported in the paper. [1] patchwork_1.3.2 ggpattern_1.2.1 openxlsx_4.2.8 GLMMadaptive_0.9-7 [5] ggsignif_0.6.4 ggpubr_0.6.1 scales_1.4.0 sjPlot_2.9.0 [9] lubridate_1.9.4 forcats_1.0.1 stringr_1.5.1 dplyr_1.1.4 [13] purrr_1.2.0 readr_2.1.5 tidyr_1.3.1 tibble_3.3.0 [17] ggplot2_4.0.0 tidyverse_2.0.0 LAPACK version 3.12.1 To replicate the results, one should make sure to have `individual_data.csv` and two folders `models_final` and `plots_final` in the same path as the replication script `analysis_inequality_final.R`, and run: Rscript analysis_inequality_final.R This will output the results in the console, save the plots to `plots_final`, and save the fitted models to `models_final`. The code should finish running within minutes on reasonably modern computers.

本数据集为论文《网络公共品博弈中决策时长与未来合作及社会重连决策的关联》的复现配套包。 本次研究用于生成论文报告结果的R版本为4.5.1,同时依赖以下R包及对应版本号: [1] patchwork_1.3.2、ggpattern_1.2.1、openxlsx_4.2.8、GLMMadaptive_0.9-7 [5] ggsignif_0.6.4、ggpubr_0.6.1、scales_1.4.0、sjPlot_2.9.0 [9] lubridate_1.9.4、forcats_1.0.1、stringr_1.5.1、dplyr_1.1.4 [13] purrr_1.2.0、readr_2.1.5、tidyr_1.3.1、tibble_3.3.0 [17] ggplot2_4.0.0、tidyverse_2.0.0 此外还用到LAPACK 3.12.1版本。 若需复现论文结果,需将`individual_data.csv`、`models_final`文件夹与`plots_final`文件夹,与复现脚本`analysis_inequality_final.R`置于同一目录下,并执行如下命令:`Rscript analysis_inequality_final.R`。 运行该脚本后,结果将输出至控制台,绘图文件将保存至`plots_final`文件夹,拟合得到的模型将保存至`models_final`文件夹。在配置合理的现代计算机上,该代码可在数分钟内完成运行。

提供机构:
Zenodo
创建时间:
2026-04-12
二维码
社区交流群
二维码
科研交流群
商业服务