This is a small piece of code written in python3. It can be used to perform the analyses in Minasandra & Isvaran (2018) using one command, on your own data.
This code heavily relies on code used by Alsott et al (2014), and their python module, powerlaw
. The code comes along with an installer (install
) to help those unfamiliar with the command-line.
As of now (09-Sep-2018), the code works only on linux systems, but can be tweaked to run on windows with a few modifications. Please read INSTALLATION_README for details on installation.
-
Minasandra, P. & Isvaran, K. (2018). Truncated power-law distribution of group sizes in antelope. bioRxiv doi: 10.1101/411199
-
Alsott, J., Bullmore, E., & Plenz, D. (2014). powerlaw: a Python package for analysis of heavy-tailed distributions. PloS one, 9(1), e85777.