Description Usage Arguments Value Examples
Extract the results table from GMRFILM output
1 2 | extract_result_table(sim_dir, sim_fi, raw_ext, out_ext, skip_top, n_rows,
verbose = FALSE)
|
sim_dir |
A string. The path to the simulation directory. Example: here() |
sim_fi |
A string. The base file name of the GMRFILM output that was piped to a file. Example: "tio2-1000a-on-ti". |
raw_ext |
A string for the raw extension. Example: ".dat" |
out_ext |
A string for the out extension. Example: "-out.dat" |
skip_top |
An integer. The number of rows when reading in the raw output from the .out file. Example: 55. You want to capture the title line for readability. |
n_rows |
An integer. The number of rows (lines) to keep. Example: 9. This should yield a complete output table. |
verbose |
A Boolean. Default: FALSE. If TRUE it prints lines. |
None. The function writes the extracted table to the sim_fi variable with '-ext.txt' appended
1 2 | library(rgmrfilm)
# to be added
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.