read_mcmc_csv: Restore MCMC Fit from CSV

View source: R/utils_mcmc.R

read_mcmc_csvR Documentation

Restore MCMC Fit from CSV

Description

Restore MCMC Fit from CSV

Usage

read_mcmc_csv(model, name, dir = "BayesRTMB_mcmc", chains = 4, laplace = FALSE)

Arguments

model

An RTMB_Model object.

name

Base name of the saved CSVs.

dir

Directory where CSVs are saved. Default is "BayesRTMB_mcmc".

chains

Number of chains. Default is 4.

laplace

Logical; whether Laplace approximation was used. Default is FALSE.

Value

An MCMC_Fit object.


BayesRTMB documentation built on Nov. 24, 2026, 9:06 a.m.