Description Usage Arguments Value Examples
Get stockfiles used in a Gadget model
1 | read_gadget_stockfiles(stockfiles, main = NULL, path = NULL)
|
stockfiles |
Character vector of stocknames present in Gadget model |
main |
Optional. A list of class |
path |
Optional. Character vector of path to the directory where Gadget files are located |
A list of class gadget_stocks
consisting of
gadget_stock
one or more gadget_stock objects
1 2 3 4 | path <- system.file(gad_mod_dir, package = "gadgetSim")
main <- read_gadget_main(path = gad_mod_dir)
stocks <- read_gadget_stockfiles(main = main, path = path)
head(stocks[[1]])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.