Gerber, Samuel, and Kristin Potter. “Data Analysis With the Morse-Smale Complex: The Msr Package for R”.
Journal of Statistical Software
, vol. 50, no. 2, July 2012, pp. 1-22, doi:10.18637/jss.v050.i02.