fix_xsviewer_stations: Fix Cross Section Viewer Stations

Description Usage Arguments Details Value

View source: R/viewer.r

Description

Replace the cross section viewer stations with the actual stations.

Usage

1
2
fix_xsviewer_stations(d, station.data, station.cols = c("downstream.station",
  "upstream.station"))

Arguments

d

The cross section viewer data.

station.data

A two-column dataframe containing the actual (column 1) and offset (column 2) river stations.

station.cols

The names of columns containing station data to be adjusted.

Details

Some versions of the cross section viewer did not allow station IDs above a certain value, requiring some users to offset their actual river stations to use the software. This function reverses the offset or scaling.

Value

The data frame d with adjusted station values.


mkoohafkan/RAStestR documentation built on July 14, 2019, 11:41 p.m.