View source: R/create-rds-natage.R
create_rds_natage | R Documentation |
Create an rds file to hold the model's full MCMC samples for annual numbers at age.
create_rds_natage(
model_path = NULL,
verbose = TRUE,
overwrite = FALSE,
progress_n = 500,
first = 0,
...
)
model_path |
Directory name of model to be loaded |
verbose |
Logical. If |
overwrite |
Logical. If |
progress_n |
Report every time this many files are processed. Consider how many posteriors there are, this should be a fairly large proportion of that (around 1/8th) or there will be too much output and it will run slow |
first |
Load this many of the files. If a non-positive number, load them all. Used for debugging purposes to cut down the size of the lists used |
... |
Arguments to pass to |
Simplified from create_rds_file()
by Andy for highest density interval
manuscript, for which need to look at the full MCMC values for numbers at
age for each year. Save the rds file with name as used in
create_rds_file()
but with with natage
appended.
This function does not load retrospectives and forecasts.
To do that you must run this first, then run other functions
to load those things and attach them to the model list
base::invisible()
## Not run:
# create_rds_natage("/srv/hake/models/2024/02-version/01-base-models/01-base/")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.