calc_mcmc: Perform some quantile calculations on the MCMC posteriors

View source: R/calc-mcmc.R

calc_mcmcR Documentation

Perform some quantile calculations on the MCMC posteriors

Description

Perform some quantile calculations on the MCMC posteriors

Usage

calc_mcmc(
  model,
  burnin = 1000,
  thin = 1,
  probs = c(0.025, 0.5, 0.975),
  index_scale = 1e+06,
  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

probs

The probabilities to use for quantile() calculations

index_scale

Number to multiply the index values by so they match the survey_index values

load_proj

Do the calculations for the projections

...

Arguments to be absorbed by other functions

Value

A list of each parameter for which quantiles were calculated


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