Description Usage Arguments Value Examples
These functions are specific to Gadget likelihood and printfile components as
many of these aggfiles require particular attention to formatting. These
functions are strictly used within write_gadget_file
1 2 3 4 5 | write_likelihood_aggfiles(likelihood_file, path = NULL)
write_likelihood_datafiles(likelihood_file, path = NULL)
write_printfile_aggfiles(comp, path = NULL, aggfile_dir, fit_dir = NULL)
|
path |
Character. Path of the Gadget model |
aggfile_dir |
Character. Path of the directory where aggfiles will be printed |
NULL. Writes aggregate files to the appropriate files in
aggfile_dir
1 2 3 4 5 6 7 8 | path <- system.file(gad_mod_dir, package = "gadgetSim")
cod <- list(stocknames = "cod", printfile = "printfiles")
cod_stock <- update_printfile(stock, cod)
cod_stock_agg <- make_aggfiles(cod_stock, "print.aggfiles", path = path)
## Not run:
write_aggfiles(cod_stock_agg, "print.aggfiles", path = path)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.