Description Usage Arguments Value Examples
Combine tables via an operation, e.g. addition or multiplication.
1 | operate_table(..., fun, partial = FALSE, time.col = "Time")
|
... |
Arbitrary number of wide-format data tables to combine. |
fun |
A function to apply. If multiple tables are supplied in |
partial |
If TRUE, only the overlapping times and columns will be processed. |
time.col |
The time column name. |
A single table.
1 2 3 4 5 6 7 8 | simple.quasi = system.file("sample-data/SampleQuasiUnsteady.hdf",
package = "RAStestR")
quasi.flow = read_standard(simple.quasi, "Flow")
operate_table(quasi.flow, quasi.flow, fun = "+")
operate_table(quasi.flow, quasi.flow, fun = "-")
operate_table(quasi.flow, fun = function(x) 0.5*x)
operate_table(quasi.flow, fun = function(x) x/x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.