read_mcmc: Read in the MCMC results from an iscam model, reformat them,...

View source: R/read-mcmc.R

read_mcmcR Documentation

Read in the MCMC results from an iscam model, reformat them, and remove some records as defined by burnin and thin

Description

Read in the MCMC results from an iscam model, reformat them, and remove some records as defined by burnin and thin

Usage

read_mcmc(model, burnin = 1000, thin = 1, load_proj = TRUE, ...)

Arguments

model

An iSCAM model object as created in load_iscam_files()

burnin

The number of MCMC records to remove for burnin period

thin

Remove every nth record for thinning of MCMC output

load_proj

Load projection output

...

Extra arguments

Value

A list of data frames representing the MCMC output of the iscam model, or NULL if there was a problem or there were no MCMC output files


pbs-assess/gfiscamutils documentation built on Oct. 24, 2024, 1:37 p.m.