R/updatePath.r

Defines functions updatePath

Documented in updatePath

## update path slot in an SpatialStreamNetwork object


updatePath <- function(ssn, filepath){
    ssn@path <- filepath
    print(paste("SSN path updated to", filepath, sep = " "))
    return(ssn)

}

Try the SSN package in your browser

Any scripts or data that you put into this service are public.

SSN documentation built on March 7, 2023, 5:30 p.m.