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

Description Usage Arguments Details Value

View source: R/mcmc.ExtractVars.R

Description

Function to extract a variable from an MCMC results list.

Usage

1
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 Dec. 7, 2018, 7:58 a.m.