Function to extract a variable from an MCMC results list.
- an MCMC results list from a TCSAM02 model
- variable name to extract
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.
a vector or an array, depending on the variable
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.