Ver Hoef, Jay, et al. “SSN: An R Package for Spatial Statistical Modeling on Stream Networks”. Journal of Statistical Software, vol. 56, no. 3, Jan. 2014, pp. 1-45, doi:10.18637/jss.v056.i03.