create_rds_file: Create an rds file to hold the model's data and outputs.

View source: R/create-rds-file.R

create_rds_fileR Documentation

Create an rds file to hold the model's data and outputs.

Description

Create an rds file to hold the model's data and outputs.

Usage

create_rds_file(
  model_path = NULL,
  keep_index_fit_posts = TRUE,
  verbose = TRUE,
  overwrite = FALSE,
  ...
)

Arguments

model_path

Directory name of model to be loaded

keep_index_fit_posts

Logical. If TRUE, keep the index_fit_posts data in the model's list. This contains the survey fit output for every posterior'and is quite large. Typically kept for base model only. Needed for the plot_survey_fit_mcmc() plot to work.

verbose

Logical. If TRUE, write more output to the console

overwrite

Logical. If TRUE, overwrite the RDS file if it exists

...

Arguments to pass to load_ss_files()

Details

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

Value

base::invisible()


pacific-hake/hake-assessment documentation built on Nov. 8, 2024, 1:16 p.m.