mcmc.ExtractVar: Extract a variable from an MCMC results list

View source: R/mcmc.ExtractVars.R

mcmc.ExtractVarR Documentation

Extract a variable from an MCMC results list

Description

Function to extract a variable from an MCMC results list.

Usage

mcmc.ExtractVar(mcmc, vr)

Arguments

mcmc
  • an MCMC results list from a TCSAM02 model

vr
  • variable name to extract

Details

handles numeric and array mcmc variables. If the variable is a n-dimensional array, the returned array will be (n+1)-dimensional, with the mcmc iteration as the left-most dimension.

Value

a vector or an array, depending on the variable


wStockhausen/rTCSAM02 documentation built on April 16, 2024, 6:25 a.m.