extract_result_table: Extract the results table from GMRFILM output

Description Usage Arguments Value Examples

Description

Extract the results table from GMRFILM output

Usage

1
2
extract_result_table(sim_dir, sim_fi, raw_ext, out_ext, skip_top, n_rows,
  verbose = FALSE)

Arguments

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.

Value

None. The function writes the extracted table to the sim_fi variable with '-ext.txt' appended

Examples

1
2
library(rgmrfilm)
# to be added

jrminter/rgmrfilm documentation built on May 18, 2019, 2:38 a.m.