posterior_array: Extract the posterior of a parameter

Description Usage Arguments Value

Description

Extracts and organizes the saved posterior samples for a given parameter, including parameters that are vectors and arrays.

Usage

1
posterior_array(output, parameter)

Arguments

output

An object of class jagsUI.

parameter

A parameter that was saved in the output samples.

Value

An array with one more dimension than the input parameter. For example, if you saved 50 iterations, and the chosen parameter was a 2x3 matrix, the resulting array will be 50x2x3.


kenkellner/jagsUI2 documentation built on July 5, 2019, 9:38 a.m.