Download 23/replication_package/Code/replicate_fig_A3.R from chuxuan/REPRO-Bench: direct link, hf CLI and curl.
- Browser
- Download file 522 Bytes
-
https://huggingface.co/datasets/chuxuan/REPRO-Bench/resolve/main/23/replication_package/Code/replicate_fig_A3.R
- Command line
-
hf download hf://datasets/chuxuan/REPRO-Bench/23/replication_package/Code/replicate_fig_A3.R
-
curl -L -o replicate_fig_A3.R https://huggingface.co/datasets/chuxuan/REPRO-Bench/resolve/main/23/replication_package/Code/replicate_fig_A3.R
522 Bytes
| ##--##--##--##--##--##--## | |
| ## Appendix: Figure A3 | |
| ##--##--##--##--##--##--## | |
| status_names = c("DISCRIMINATED", "POWERLESS", "SELF-EXCLUSION", "JUNIOR PARTNER", "SENIOR PARTNER", "DOMINANT", "MONOPOLY") | |
| ggplot(EBCR_EPR_NAVCO2, aes(x=EPR_GROUPSIZE, y=EPR_STATUS_ORD)) + | |
| geom_point(alpha=0.2, color="gray50") + geom_smooth(color="black") + | |
| theme_bw() + xlab("Group size") + ylab("Group status") + | |
| scale_y_continuous(breaks = c(1,2,3,4,5,6,7), labels = status_names) | |
| ggsave("Figures/fig_A3.pdf", width=6, height=5) | |