importStreams: Import a shapefile of stream edges without observed or...

Description Usage Arguments Details Value

View source: R/importStreams.R

Description

Imports a SpatialStreamNetwork without loading the observed and predicted sites.

Usage

1
importStreams(filepath, o.write = FALSE)

Arguments

filepath

a path to a folder containing a stream network. The folder should have the extension .ssn.

o.write

a logical value indicating whether the binaryID.db inside the folder should be overwritten if it already exists. Note that, if no binaryID.db exists, that database will be generated by this function.

Details

The purpose of this function is to allow users to ingest stream shapefiles with no observed or prediction sites into R as a SpatialStreamNetwork. This will then allow them to use their data with functions like generateSites, which will allow them to explore various designs on their stream network.

Value

An object of class SpatialStreamNetwork, with nothing in obspoints and predpoints slots.


apear9/SSNdesign documentation built on Feb. 19, 2020, 4:29 a.m.