save_nuts_fits: Read in NUTS run data files ('hake.Rdata' files), fix the...

View source: R/utils-save-nuts-fits.R

save_nuts_fitsR Documentation

Read in NUTS run data files ('hake.Rdata' files), fix the parameter names in the nuts_updated samples table, save the nuts_updated object as an RDS file and return that object

Description

Read in NUTS run data files ('hake.Rdata' files), fix the parameter names in the nuts_updated samples table, save the nuts_updated object as an RDS file and return that object

Usage

save_nuts_fits(
  dr = "/srv/hake/models/2024/02-version/05-test-models",
  mdl_nms = c("03-burnin-1", "04-burnin-50", "05-burnin-100", "06-burnin-150",
    "07-burnin-200", "08-burnin-250", "09-burnin-300", "10-burnin-350", "11-burnin-400",
    "12-burnin-450", "13-burnin-500", "14-long-base")
)

Arguments

dr

The directory in which the model subdirectories reside

mdl_nms

A vector of the model directory names

Value

A list of the fit objects, each of which can be used in a call to adnuts::launch_shinyadmb()


pacific-hake/hake-assessment documentation built on Jan. 14, 2025, 9:12 p.m.