Description Usage Arguments Value Examples
This function will check to see if the various components to a stockfile are
present during reading and will format those components if present. If a
filename is present in a various component then this function will read that
filename and place the appropriate data into an attribute of the stockfile.
This function is for use in read_gadget_stockfile
1 | check_stockfile(stockfile, path = NULL)
|
stockfile |
The stockfile being read in by
|
path |
Optional. Character vector of path to the directory where Gadget files are located |
A list the same as the stockfile, but with attributes added for data.
1 2 | stockfile <- readLines("gadget_model/cod")
check_stockfile(stockfile)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.