Description Usage Arguments Value Examples
Compute cross section volumes by region.
1 2  | region_to_volume(d, time.col = "Time", region.col = "Region",
  station.lengths = NULL)
 | 
d | 
 The area data, e.g. output of   | 
time.col | 
 The time column name.  | 
region.col | 
 The name of the column containing the Region identifier.  | 
station.lengths | 
 The cross section length values.  | 
A wide-format table of cross section region volumes.
1 2 3 4 5 6 7 8 9 10 11  | simple.quasi = system.file("sample-data/SampleQuasiUnsteady.hdf",
  package = "RAStestR")
quasi.xs = read_xs(simple.quasi)
quasi.banks = read_bank_stations(simple.quasi)
quasi.extents = xs_extents(quasi.xs)
quasi.lengths = xs_lengths(read_station_lengths(simple.quasi))
quasi.regions = xs_regions(quasi.xs, bank.stations = quasi.banks, 
 extent.stations = quasi.extents)
region_to_volume(quasi.regions, station.lengths = quasi.lengths)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.