Learn R Programming

SSN (version 1.1.7)

updatePath: Update Path Slot in SpatialStreamNetwork Object

Description

Updates the path slot in an existing SpatialStreamNetwork object based on a user-defined filepath.

Usage

updatePath(ssn, filepath)

Arguments

ssn
filepath
path name to the .ssn folder, in string format including quotes. Also include the .ssn folder in the path name

Details

At times, it may be necessary to move a .ssn directory, which is linked to a SpatialStreamNetwork object in an R workspace. If the .ssn directory is moved, the path slot must be updated before using the glmssn function. The updatePath function serves this purpose.