Description Usage Arguments Value Examples
Compute cross section volumes given cross section areas and lengths.
1 | area_to_volume(d, time.col = "Time", station.lengths = NULL)
|
d |
The area data, e.g. output of |
time.col |
The time column name. |
station.lengths |
The cross section length values. |
A wide-format table of cross section volumes.
1 2 3 4 5 6 7 | simple.quasi = system.file("sample-data/SampleQuasiUnsteady.hdf",
package = "RAStestR")
quasi.xs = read_xs(simple.quasi)
quasi.lengths = xs_lengths(read_station_lengths(simple.quasi))
quasi.area = xs_area(quasi.xs)
area_to_volume(quasi.area, station.lengths = quasi.lengths)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.