Description Usage Arguments Value Examples
Read the sediment data output for all grain classes.
1 2 | read_sediment(f, table.name, which.times = NULL, which.stations = NULL,
which.grains = NULL)
|
f |
The HDF5 file to read. |
table.name |
The table to read. |
which.times |
Character vector of timestamps to extract. If NULL, all timestamps will be returned. |
which.stations |
Character vector of stations to extract. If NULL, all stations will be returned. |
which.grains |
Grain class tables to extract. Can accept either numeric grain class IDs or grain class labels. Label "ALL" or "" corresponds to the totals. If NULL, all grain classes will be returned. |
A dataframe with a column "Time" containing the Date Time Stamp data; columns "XS_####" where ### is the cross-section ID; and column "GrainClass".
1 2 3 4 5 6 7 8 | simple.quasi = system.file("sample-data/SampleQuasiUnsteady.hdf",
package = "RAStestR")
read_sediment(simple.quasi, "Vol Out Cum")
read_sediment(simple.quasi, "Vol Out Cum",
which.grains = c("6", "7"))
read_sediment(simple.quasi, "Vol Out Cum",
which.grains = c("VFS", "FS"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.