Description Usage Arguments Details Value

View source: R/mcmc.ExtractVars.R

Function to extract a variable from an MCMC results list.

1 | ```
mcmc.ExtractVar(mcmc, vr)
``` |

`mcmc` |
- an MCMC results list from a TCSAM02 model |

`vr` |
- 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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.