Assemble 'SSN' Objects

Import, create and assemble data needed to fit spatial-statistical stream-network models using the 'SSN2' package for 'R'. Streams, observations, and prediction locations are represented as simple features and specific tools provided to define topological relationships between features; calculate the hydrologic distances (with flow-direction preserved) and the spatial additive function used to weight converging stream segments; and export the topological, spatial, and attribute information to an `SSN` (spatial stream network) object, which can be efficiently stored, accessed and analysed in 'R'. A detailed description of methods used to calculate and format the spatial data can be found in Peterson, E.E. and Ver Hoef, J.M., (2014) .


Project Status: Active – The project has reached a stable, usable state and is being actively developed. R-CMD-check CRAN cran checks

SSNbler: Assemble 'SSN' objects

'SSNbler' imports, creates and assembles data needed to fit spatial-statistical stream-network models using the SSN2 R package. Streams, observations, and prediction locations are represented as simple features and specific tools have been provided to define topological relationships between features; calculate the hydrologic distances (with flow-direction preserved) and the spatial additive function used to weight converging stream segments; and export the topological, spatial, and attribute information to an SSN object, which can be efficiently stored, accessed and analysed in R.

Learn more about 'SSNbler' on our website.

Installation Instructions

# install the most recent approved version from CRAN
install.packages("SSNbler")
# load the most recent approved version from CRAN
library(SSNbler)

Install and load the most recent version of 'SSNbler' from GitHub by running

# Installing from GitHub requires you first install the remotes package
install.packages("remotes")

# install the most recent version from GitHub
remotes::install_github("pet221/SSNbler", ref = "main")
# load the most recent development version from GitHub
library(SSNbler)

Citation

If you use 'SSNbler' in a formal publication or report, please cite it. Citing 'SSNbler' lets us devote more resources to it in the future. View the 'SSNbler' citation by running

citation(package = "SSNbler")
#> 
#> To cite SSNbler in publications use:
#> 
#>   Peterson E. E., Dumelle, M., Pearse A., Teleki D., and Ver Hoef, J. M.
#>   (2024). SSNbler: Assemble SSN objects in R. R package version 1.1.1
#> 
#> A BibTeX entry for LaTeX users is
#> 
#>   @Manual{,
#>     title = {{SSNbler}: Assemble SSN objects in {R}},
#>     author = {Erin Peterson and Michael Dumelle and Alan Pearse and Dan Teleki and Jay M. {Ver Hoef}},
#>     year = {2024},
#>     note = {{R} package version 1.1.1},
#>   }

Example Usage

Please see our introductory vignette for a brief example showing how to use 'SSNbler'.

License

This project is licensed under the GNU General Public License, GPL-3.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("SSNbler")

1.1.2 by Erin Peterson, 10 days ago


https://github.com/pet221/SSNbler


Report a bug at https://github.com/pet221/SSNbler/issues


Browse source code at https://github.com/cran/SSNbler


Authors: Erin Peterson [aut, cre] (ORCID: , Michael Dumelle [aut] , Alan Pearse [aut] , Dan Teleki [ctb] , Jay M. Ver Hoef [ctb]


Documentation:   PDF Manual  


GPL (>= 3) license


Imports sf, dplyr, pdist, stats, utils, igraph, RSQLite, withr, SSN2, doParallel, foreach

Suggests ggplot2, knitr, rmarkdown, testthat


See at CRAN