Description Usage Arguments Value Examples
Reorder a sediment data table by time and cross section.
1 | order_sediment(d, time.col = "Time", grain.col = "GrainClass")
|
d |
A wide-format table. |
time.col |
The time column name. |
grain.col |
the grain class column name. |
the data frame d
, ordered by time, cross section and grain class.
1 2 3 4 5 6 7 | simple.quasi = system.file("sample-data/SampleQuasiUnsteady.hdf",
package = "RAStestR")
quasi.voloutcum = read_sediment(simple.quasi, "Vol Out Cum")
quasi.disordered = quasi.voloutcum[sample(1:nrow(quasi.voloutcum),
nrow(quasi.voloutcum)),]
order_sediment(quasi.voloutcum)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.