SSN2: The next generation of spatial stream network modeling in R
The SSN2 R package provides tools for spatial statistical modeling, parameter estimation, and prediction on stream (river) networks. `SSN2` is the successor to the SSN R package, which was archived alongside broader changes in the R-spatial ecosystem that included 1) the retirement of rgdal, rgeos, and maptools and 2) the lack of active development of sp. SSN2 maintains compatibility with the input data file structures used by SSN but leverages modern R-spatial tools like sf and provides many useful modeling features that were not available in SSN, including new modeling functions, updated fitting algorithms, and simplified syntax consistent with other R generic functions.