Wickham, Hadley. 2007. “Reshaping Data With the Reshape Package”. Journal of Statistical Software 21 (12):1-20. https://doi.org/10.18637/jss.v021.i12.