Spatial statistical modeling and prediction for data on stream networks, including models based on in-stream distance. 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.
Installation of this R data package is done through the devtools::install_github()
function or by downloading the source package from the latest release. Most likely, you can just install from within R. After starting R, first make sure that you have the devtools package.
install.packages("devtools")
Then, use the code below
library("devtools")
install_github("jayverhoef/SSN")
or you can use this package instead
install.packages("githubinstall")
and use the code code below
library("githubinstall")
githubinstall("SSN")
It will then suggest
Suggestion:
- jayverhoef/SSN
Do you want to install the package (Y/n)?
So type "Y".
You can also use the remotes package
install.packages("remotes")
Then, use the code below
remotes::install_github("jayverhoef/SSN")