subsetPreds: Subset the prediction sites in a SpatialStreamNetwork

Description Usage Arguments Value

View source: R/subsetPreds.R

Description

This function works like subsetSSN, but instead of focussing on the observed sites, this allows the prediction sites alone to be subsetted according to some logical criterion or criteria. It is particularly useful when attempting to keep only prediction sites with certain PIDs.

Usage

1

Arguments

ssn

An object of class SpatialStreamNetwork

subset

A logical condition used to subset the prediction sites.

Value

A SpatialStreamNetwork. The new preds shapefile overwrites the old one in ssn@path.


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