Description Usage Arguments Value Examples
This function reads specifically the output from a StockStdPrinter printfile
component from Gadget and formats the output into a useable
data.frame
in R
1 | read_gadget_stock_std(output_dir, files = NULL, path = NULL)
|
output_dir |
Character. Path to the directory where output is housed |
path |
Optional. Character vector of path to the directory where Gadget files are located |
data.frame
of the output from a StockStdPrinter printfile
component
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
path <- system.file(gad_mod_dir, package = "gadgetSim")
make_gadget_printfile(stock_std = list(stockname = "cod",
printfile = "printfile"), main = "WGTS/main.final",
file = "WGTS/printfile", path = path,
aggfile_dir = "WGTS/aggfiles")
call_gadget(switches = list(s = TRUE, i = "WGTS/params.final",
main = "WGTS/main.final"),
path = path)
read_gadget_stock_std("out", path = paste("WGTS", path, sep = "/"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.