Description Usage Arguments Value Examples
Apply a horizontal and/or vertical shift to cross section data.
1 2 3 |
d |
The cross section data. |
what |
Apply a |
shift.table |
A table of cross section stations and shift values.
If |
station.col |
The column in |
distance.col |
The column in |
elevation.col |
The column in |
subtract |
If |
The data frame d
with cross sections shifted according to
shift.table
1 2 3 4 5 6 7 8 9 10 | simple.quasi = system.file("sample-data/SampleQuasiUnsteady.hdf",
package = "RAStestR")
quasi.xs = read_xs(simple.quasi)
quasi.shift = data.frame(Station = "XS_800", horizontal = 5,
vertical = 2, stringsAsFactors = FALSE)
xs_shift(quasi.xs, "horizontal", quasi.shift)
xs_shift(quasi.xs, "horizontal", quasi.shift, subtract = FALSE)
xs_shift(quasi.xs, "vertical", quasi.shift)
xs_shift(quasi.xs, c("horizontal", "vertical"), quasi.shift)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.