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