Description Usage Arguments Details Value Examples
Access elements of default printfiles and update them
1 | update_printfile(printfile_comp, new_info)
|
printfile_comp |
A default printfile list, see printfileDefaults |
new_info |
A list of named vectors. The names correspond to the arguments to Gadget printfile components, and the vector is the desired value |
update_printfile
is a generic method for the various printfile types.
Each printfile class has its own update_printfile
method that returns a list of
that class. This family of functions was created to allow for the implementation of any
printfiles in functions like make_gadget_printfile
. Lists used for
printfile
must be one of the following classes: stock_std, stock_full,
stock, predator, predator_over, prey_over, stock_prey_full, stock_prey, predator_prey,
likelihood, likelihood_summary
.
A list of class corresponding to the printfile component (update_printfile
for the StockStdPrinter returns a list of class stock_std
).
1 2 | cod_stock_std <- list(stockname = "cod", printfile = "cod.stock.std")
update_printfile(stock_std, cod_stock_std)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.