SSN: Spatial Modeling on Stream Networks

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.

Install the latest version of this package by entering the following in R:
install.packages("SSN")
AuthorJay Ver Hoef and Erin Peterson
Date of publication2017-04-12 23:44:51 UTC
MaintainerJay Ver Hoef <ver.hoef@SpatialStreamNetworks.com>
LicenseGPL-2
Version1.1.10

View on CRAN

Man pages

additive.function: Generate an Additive Function Value

AIC.glmssn: AIC for glmssn objects

binSp: Fitted glmssn object for example data set MiddleFork.ssn

BlockPredict: Block Predicton for Streams Data

BLUP: Compute the joint mean, variance and covariance of any random...

boxplot.SpatialStreamNetwork: Box-and-whisker plots for data within SpatialStreamNetwork...

copyLSN2temp: Copies the lsn directory MiddleFork04.ssn to R's temporary...

covparms: Get Covariance Parameters

createDistMat: Calculate Hydrologic Distances for a SpatialStreamNetwork...

createSSN: Create an SpatialStreamnetwork Object

CrossValidationSSN: Compute Crossvalidation Values for glmssn Objects

CrossValidationStatsSSN: Compute Summary Statistics on Crossvalidation Values for...

designs: Design functions

EmpiricalSemivariogram: Empirical Semivariogram Based on Euclidean Distance

fitNS: Fitted glmssn object for example data set MiddleFork.ssn

fitRE: Fitted glmssn object for example data set MiddleFork.ssn

fitSimBin: Fitted glmssn object for simulated data

fitSimGau: Fitted glmssn object for simulated data

fitSimPoi: Fitted glmssn object for simulated data

fitSp: Fitted glmssn object for example data set MiddleFork.ssn

fitSpBk: Fitted glmssn object for example data set MiddleFork.ssn

fitSpRE1: Fitted glmssn object for example data set MiddleFork.ssn

fitSpRE2: Fitted glmssn object for example data set MiddleFork.ssn

getConfusionMat: Extract confusion matrix for binary spatial model...

getPreds: Extract Predictions with associated standard errors.

glmssn: Fitting Generalized Linear Models for Spatial Stream Networks

glmssn-class: Class "glmssn"

GR2: Generalised R2

importPredpts: Import Prediction Points into a SpatialStreamNetwork or...

importSSN: Import an object of class SpatialStreamNetwork

influenceSSN-class: Class "influenceSSN"

InfoCritCompare: Compare 'glmssn' Information Criteria

mf04: imported SpatialStreamNetwork object from MiddleFork04.ssn...

mf04p: Imported SpatialStreamNetwork object from MiddleFork04.ssn...

MiddleFork04.ssn: MiddleFork04.ssn data folder

plot.glmssn.predict: Plot glmssn.predict Objects

plot.influenceSSN: Plotting Method for influenceSSN Objects

plot.SpatialStreamNetwork: Plotting Method for SpatialStreamNetwork Objects

plot.Torgegram: Plotting Method for Torgegram Objects

poiSp: Fitted glmssn object for example data set MiddleFork.ssn

predict.glmssn: Calculate Predictions for Prediction Sites

print.summary.glmssn: Print summary - S3 Method for Class 'glmssn'

putSSNdata.frame: putSSNdata.frame

residuals.glmssn: Compute Model Residuals for glmssn Objects

SimulateOnSSN: Simulating Data on Spatial Stream Networks

SpatialStreamNetwork-class: Class "SpatialStreamNetwork"

splitPredictions: Split Prediction Sets in a SpatialStreamNetwork Object

SSN-package: Spatial Modeling on Stream Networks

subsetSSN: Subset a SpatialStreamNetwork Object

summary.glmssn: Summary - S3 Method for Class 'glmssn'

Torgegram: Empirical Semivariogram Based on Hydrologic Distance and flow...

updatePath: Update Path Slot in SpatialStreamNetwork Object

varcomp: Variance Components for glmssn Objects

writeSSN: Write a SpatialStreamNetwork Object

Functions

additive.function Man page
AIC.glmssn Man page
binomialDesign Man page
binSp Man page
BlockPredict Man page
BLUP Man page
boxplot.SpatialStreamNetwork Man page
copyLSN2temp Man page
covparms Man page
createDistMat Man page
createSSN Man page
CrossValidationSSN Man page
CrossValidationStatsSSN Man page
EmpiricalSemivariogram Man page
fitNS Man page
fitRE Man page
fitSimBin Man page
fitSimGau Man page
fitSimPoi Man page
fitSp Man page
fitSpBk Man page
fitSpRE1 Man page
fitSpRE2 Man page
getConfusionMat Man page
getPreds Man page
glmssn Man page
glmssn-class Man page
GR2 Man page
hardCoreDesign Man page
igraphKamadaKawai Man page
importPredpts Man page
importSSN Man page
influenceSSN-class Man page
InfoCritCompare Man page
iterativeTreeLayout Man page
mf04 Man page
mf04p Man page
MiddleFork04.ssn Man page
noPoints Man page
plot.glmssn.predict Man page
plot.influenceSSN Man page
plot.SpatialStreamNetwork Man page
plot.Torgegram Man page
poiSp Man page
poissonDesign Man page
predict.glmssn Man page
print.summary.glmssn Man page
putSSNdata.frame Man page
residuals.glmssn Man page
SimulateOnSSN Man page
SpatialStreamNetwork-class Man page
splitPredictions Man page
SSN Man page
SSN-package Man page
subsetSSN Man page
summary.glmssn Man page
summary.SpatialStreamNetwork Man page
systematicDesign Man page
Torgegram Man page
updatePath Man page
varcomp Man page
writeSSN Man page

Files

inst
inst/CITATION
inst/lsndata
inst/lsndata/MiddleFork04.ssn
inst/lsndata/MiddleFork04.ssn/edges.shp
inst/lsndata/MiddleFork04.ssn/Knapp.sbx
inst/lsndata/MiddleFork04.ssn/CapeHorn.shp
inst/lsndata/MiddleFork04.ssn/distance
inst/lsndata/MiddleFork04.ssn/distance/CapeHorn
inst/lsndata/MiddleFork04.ssn/distance/CapeHorn/dist.net2.b.RData
inst/lsndata/MiddleFork04.ssn/distance/CapeHorn/dist.net2.a.RData
inst/lsndata/MiddleFork04.ssn/distance/obs
inst/lsndata/MiddleFork04.ssn/distance/obs/dist.net1.RData
inst/lsndata/MiddleFork04.ssn/distance/obs/dist.net2.RData
inst/lsndata/MiddleFork04.ssn/distance/Knapp
inst/lsndata/MiddleFork04.ssn/distance/Knapp/dist.net2.b.RData
inst/lsndata/MiddleFork04.ssn/distance/Knapp/dist.net2.a.RData
inst/lsndata/MiddleFork04.ssn/distance/pred1km
inst/lsndata/MiddleFork04.ssn/distance/pred1km/dist.net1.b.RData
inst/lsndata/MiddleFork04.ssn/distance/pred1km/dist.net1.a.RData
inst/lsndata/MiddleFork04.ssn/distance/pred1km/dist.net2.b.RData
inst/lsndata/MiddleFork04.ssn/distance/pred1km/dist.net2.a.RData
inst/lsndata/MiddleFork04.ssn/CapeHorn.prj
inst/lsndata/MiddleFork04.ssn/netID1.dat
inst/lsndata/MiddleFork04.ssn/sites.sbn
inst/lsndata/MiddleFork04.ssn/pred1km.prj
inst/lsndata/MiddleFork04.ssn/CapeHorn.sbn
inst/lsndata/MiddleFork04.ssn/sites.dbf
inst/lsndata/MiddleFork04.ssn/Knapp.prj
inst/lsndata/MiddleFork04.ssn/sites.shx
inst/lsndata/MiddleFork04.ssn/pred1km.dbf
inst/lsndata/MiddleFork04.ssn/binaryID.db
inst/lsndata/MiddleFork04.ssn/CapeHorn.shp.xml
inst/lsndata/MiddleFork04.ssn/edges.sbn
inst/lsndata/MiddleFork04.ssn/Knapp.sbn
inst/lsndata/MiddleFork04.ssn/netID2.dat
inst/lsndata/MiddleFork04.ssn/sites.prj
inst/lsndata/MiddleFork04.ssn/CapeHorn.dbf
inst/lsndata/MiddleFork04.ssn/Knapp.shx
inst/lsndata/MiddleFork04.ssn/sites.shp.xml
inst/lsndata/MiddleFork04.ssn/edges.shx
inst/lsndata/MiddleFork04.ssn/edges.dbf
inst/lsndata/MiddleFork04.ssn/pred1km.shp.xml
inst/lsndata/MiddleFork04.ssn/pred1km.sbx
inst/lsndata/MiddleFork04.ssn/edges.prj
inst/lsndata/MiddleFork04.ssn/CapeHorn.sbx
inst/lsndata/MiddleFork04.ssn/pred1km.shp
inst/lsndata/MiddleFork04.ssn/sites.sbx
inst/lsndata/MiddleFork04.ssn/edges.sbx
inst/lsndata/MiddleFork04.ssn/edges.shp.xml
inst/lsndata/MiddleFork04.ssn/sites.shp
inst/lsndata/MiddleFork04.ssn/Knapp.shp.xml
inst/lsndata/MiddleFork04.ssn/CapeHorn.shx
inst/lsndata/MiddleFork04.ssn/pred1km.sbn
inst/lsndata/MiddleFork04.ssn/pred1km.shx
inst/lsndata/MiddleFork04.ssn/Knapp.dbf
inst/lsndata/MiddleFork04.ssn/Knapp.shp
inst/vignRnw
inst/vignRnw/SSN.Rnw
inst/vignRnw/jss984.bib
inst/doc
inst/doc/STARS.pdf
inst/doc/SSN.pdf
inst/doc/SSN.R
src
src/test_fc_UNIX.c
src/shapefilSSN.h
src/RdbfwriteSSN.c
src/foreignSSN.h
src/dbfopenSSN.c
src/init.c
NAMESPACE
data
data/modelFits.rda
data/mf04.rda
data/mf04p.rda
data/datalist
R
R/classes.R R/exp.taildown.R R/importSSN.R R/rref.R R/getObsRelationshipsDF.R R/covparms.R R/epa.tailup.R R/theta.ini.R R/untrans.theta.R R/varcomp.glmssn.R R/CrossValidationStatsSSN.r R/getPreds.R R/invall.R R/BlockPredict.R R/m2LL.stream.R R/AIC.glmssn.R R/BLUP.R R/mar.taildown.R R/copyLSN2temp.R R/plot.influenceSSN.R R/lin.taildown.R R/UK4Apply.R R/getStreamDistMat.R R/designs.R R/summary.glmssn.predict.R R/subsetSSN.r R/distGeo.R R/glmssn.R R/putSSNdata.frame.r R/mginv.R R/InfoCritCompare.R R/amongPredsDistMat.R R/arg.error.check.multi.R R/createSSN.R R/exp.Euclid.R R/plot.SpatialStreamNetwork.R R/lin.tailup.R R/residuals.glmssn.R R/predict.glmssn.R R/additive.function.R R/SimulateOnSSN.R R/mar.tailup.R R/dataXY.R R/summary.glmssn.R R/summary.SpatialStreamNetwork.R R/getPredRelationshipsDF.R R/writeSSN.r R/show_SpatialStreamNetwork.R R/updatePath.r R/X.design.R R/qqnorm.SpatialStreamNetwork.r R/get.rid.fc.R R/createDistMat.R R/makeCovMat.R R/gau.Euclid.R R/CrossValidationSSN.r R/EmpiricalSemivariogam.R R/importPredpts.R R/sph.tailup.R R/SSN-methods.R R/getConfusionMat.R R/names.SpatialStreamNetwork.R R/sph.Euclid.R R/glmssn1.R R/createbinaryID.r R/hist.SpatialStreamNetwork.r R/plot.glmssn.predict.R R/exp.tailup.R R/write.dbf.SSN.r R/hist.influenceSSN.r R/sph.taildown.R R/plot.Torgegram.r R/epa.taildown.R R/cau.Euclid.R R/Torgegram.R R/getSSNdata.frame.r R/xyplot.EmpiricalSemivariogramSSN.R R/summary.influenceSSN.R R/locationsDF.R R/qqnorm.influenceSSN.r R/boxplot.SpatialStreamNetwork.R R/GR2.R R/split.predictions.R
vignettes
vignettes/STARS.Rnw
vignettes/SSN.Rnw
MD5
DESCRIPTION
man
man/as.SpatialLines.SpatialStreamNetwork.rd
man/copyLSN2temp.Rd man/MiddleFork04.ssn.Rd man/plot.glmssn.predict.Rd man/createDistMat.Rd man/varcomp.Rd man/covparms.Rd
man/getSSNdata.frame.rd
man/plot.Torgegram.Rd man/glmssn.Rd man/designs.Rd man/additive.function.Rd man/putSSNdata.frame.Rd man/glmssn-class.Rd man/importPredpts.Rd man/writeSSN.Rd man/fitSpRE2.Rd man/getPreds.Rd man/summary.glmssn.Rd man/plot.influenceSSN.Rd man/mf04.Rd man/fitSimPoi.Rd man/getConfusionMat.Rd man/fitSpBk.Rd man/fitSpRE1.Rd man/poiSp.Rd man/boxplot.SpatialStreamNetwork.Rd man/AIC.glmssn.Rd man/mf04p.Rd man/subsetSSN.Rd man/fitNS.Rd man/importSSN.Rd man/EmpiricalSemivariogram.Rd man/splitPredictions.Rd man/GR2.Rd
man/getStreamDistMat.rd
man/fitSp.Rd man/Torgegram.Rd man/residuals.glmssn.Rd man/fitSimGau.Rd man/fitRE.Rd man/createSSN.Rd man/SimulateOnSSN.Rd man/fitSimBin.Rd man/updatePath.Rd man/SSN-package.Rd man/print.summary.glmssn.Rd man/plot.SpatialStreamNetwork.Rd man/predict.glmssn.Rd man/BlockPredict.Rd man/SpatialStreamNetwork-class.Rd man/binSp.Rd man/BLUP.Rd man/CrossValidationSSN.Rd man/InfoCritCompare.Rd man/CrossValidationStatsSSN.Rd man/influenceSSN-class.Rd

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.