Gerber, S., & Potter, K. (2012). Data Analysis with the Morse-Smale Complex: The msr Package for R. Journal of Statistical Software, 50(2), 1–22. https://doi.org/10.18637/jss.v050.i02