Get predictions and standard errors for a new set of spatial locations
and associated covariate values from a model fitted by smnet()
.
# S3 method for smnet
predict(object, newdata = NULL, ...)
Object of class smnet
, usually the result of a call to smnet()
data.frame
containing new covariate values at which to make predictions.
other arguments passed to predict.smnet()
List object with components
predictions
: vector of predictions corresponding to prediction points in
the original SpatialStreamNetwork
input object
predictions.se
: vector of prediction standard errors