Spatial statistical modeling and prediction for data on stream networks, including models based on in-stream distance (Ver Hoef, J.M. and Peterson, E.E., (2010) <doi:10.1198/jasa.2009.ap08248>.) Models are created using moving average constructions. Spatial linear models, including explanatory variables, can be fit with (restricted) maximum likelihood.  Mapping and other graphical functions are included. 
| Version: | 
0.4.0 | 
| Depends: | 
R (≥ 2.10) | 
| Imports: | 
stats, sf, Matrix, generics, tibble, graphics, spmodel (≥
0.7.0), RSQLite, utils, withr, doParallel, filematrix, foreach, parallel, itertools, iterators | 
| Suggests: | 
rmarkdown, knitr, testthat (≥ 3.0.0), ggplot2, sp, statmod, pROC, emmeans (≥ 1.4), estimability | 
| Published: | 
2025-10-21 | 
| DOI: | 
10.32614/CRAN.package.SSN2 | 
| Author: | 
Michael Dumelle  
    [aut, cre],
  Jay M. Ver Hoef [aut],
  Erin Peterson [aut],
  Alan Pearse [ctb],
  Dan Isaak [ctb],
  Ryan A. Hill [ctb],
  Marc Weber [ctb] | 
| Maintainer: | 
Michael Dumelle  <Dumelle.Michael at epa.gov> | 
| BugReports: | 
https://github.com/USEPA/SSN2/issues | 
| License: | 
GPL-3 | 
| URL: | 
https://usepa.github.io/SSN2/ | 
| NeedsCompilation: | 
yes | 
| Citation: | 
SSN2 citation info  | 
| Materials: | 
README, NEWS  | 
| In views: | 
Spatial | 
| CRAN checks: | 
SSN2 results |