The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

SSN2: Spatial Modeling on Stream Networks

Fit, summarize, and predict for spatial linear and generalized linear models on stream networks. Stream covariance models use moving average constructions based on in-stream distance. Parameters are estimated using likelihood methods. Additional modeling features include Euclidean covariance, anisotropy, non-spatial random effects, partition factors, and big data methods. Model-fit statistics are used to summarize, visualize, and compare models, and predictions at unobserved locations are readily obtainable. For additional details, see Ver Hoef and Peterson (2010) <doi:10.1198/jasa.2009.ap08248> and Dumelle et al. (2024) <doi:10.21105/joss.06389>.

Version: 0.5.0
Depends: R (≥ 2.10)
Imports: stats, sf, Matrix, generics, tibble, graphics, spmodel (≥ 0.14.0), RSQLite, utils, withr, doParallel, filematrix, foreach, parallel, itertools, iterators
Suggests: pracma, rmarkdown, knitr, testthat (≥ 3.0.0), ggplot2, sp, statmod, pROC, emmeans (≥ 1.4), estimability, ranger, randomForest, xgboost, numDeriv, pkgload, GPvecchia, spsurvey
Published: 2026-11-21
DOI: 10.32614/CRAN.package.SSN2
Author: Michael Dumelle ORCID iD [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: no
Citation: SSN2 citation info
Materials: README, NEWS
In views: Spatial
CRAN checks: SSN2 results

Documentation:

Reference manual: SSN2.html , SSN2.pdf
Vignettes: Introduction (source, R code)

Downloads:

Package source: SSN2_0.5.0.tar.gz
Windows binaries: r-devel: SSN2_0.5.0.zip, r-release: SSN2_0.5.0.zip, r-oldrel: SSN2_0.4.0.zip
macOS binaries: r-release (arm64): SSN2_0.5.0.tgz, r-oldrel (arm64): SSN2_0.5.0.tgz, r-release (x86_64): SSN2_0.4.0.tgz, r-oldrel (x86_64): SSN2_0.4.0.tgz
Old sources: SSN2 archive

Reverse dependencies:

Reverse imports: SSNbayes, SSNbler
Reverse suggests: MetricGraph

Linking:

Please use the canonical form https://CRAN.R-project.org/package=SSN2 to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.