Learn R Programming

RPhosFate (version 2.0.1)

snapGauges,RPhosFate-method: Snap gauge(s)

Description

Snaps the coordinates of the provided calibration gauges to the respective midpoint of the nearest channel cell.

Usage

# S4 method for RPhosFate
snapGauges(x)

Value

An S4 RPhosFate river catchment object.

Arguments

x

An S4 RPhosFate river catchment object.

See Also

calibrationQuality, autoCalibrate, autoCalibrate2

Examples

Run this code

# temporary demonstration project copy
cv_dir <- demoProject()
# load temporary demonstration project
x <- RPhosFate(
  cv_dir = cv_dir,
  ls_ini = TRUE
)

x <- snapGauges(x)

Run the code above in your browser using DataLab