Description Usage Arguments Value Examples
This suite of functions are specific to types of Gadget auxiliary stockfiles,
with special attention paid to the various auxiliary stockfiles such as
refweightfile, initial condition and renewal data distribution files,
spawnfile, etc. These functions are for use in check_stockfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | read_gadget_refweightfile(file, path = NULL)
read_gadget_stock_len_aggfile(file, path = NULL)
read_gadget_preylengths(file, path = NULL)
read_gadget_init_cond(file, data_dist_type, path = NULL)
read_gadget_yearstepfile(file, path = NULL)
read_gadget_migration_file(file, migration_type, path = NULL)
read_gadget_maturity_file(file, mat_fun_type, path = NULL)
read_gadget_renewal(file, data_dist_type, path = NULL)
read_gadget_spawnfile(file, path = NULL)
read_gadget_strayfile(file, path = NULL)
format_auxiliary_file(aux_file, aux_names)
format_data_dist_file(data_dist_file, data_names)
|
file |
Character. The name of the file to be read |
path |
Optional. Character vector of path to the directory where Gadget files are located |
Typically a list with the elements specific to what is needed for each type of auxiliary file. Aggfiles and data files will often return a data.frame
1 2 | gad_data <- read_gadget_refweightfile("Modelfiles/cod.refweightfile",
path = gad_mod_dir)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.