Over the last few years, the power law distribution has been used as the data gener- ating mechanism in many disparate elds. However, at times the techniques used to fit the power law distribution have been inappropriate. This paper describes the poweRlaw R package, which makes fitting power laws and other heavy-tailed distributions straight forward. This package contains R functions for ftting, comparing and visualizing heavy tailed distributions. Overall, it provides a principled approach to power law fitting.
Gillespie, C. S. (2015). Fitting heavy tailed distributions: The powerlaw package. Journal of Statistical Software, 64(2), 1–16. https://doi.org/10.18637/jss.v064.i02