Description Usage Arguments Details Value
Replace the cross section viewer stations with the actual stations.
1 2 | fix_xsviewer_stations(d, station.data, station.cols = c("downstream.station",
"upstream.station"))
|
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. |
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.
The data frame d
with adjusted station values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.