stat_array: Format the summary statistics of a parameter

Description Usage Arguments Value

Description

Extracts and organizes calculated statistics for a given parameter, including parameters that are vectors and arrays.

Usage

1
stat_array(output, parameter, stat)

Arguments

output

An object of class jagsUI.

parameter

A parameter that was saved in the output samples.

stat

One of the statistics calculated on jagsUI output (e.g. "mean", "sd").

Value

An array with the same dimensions as the input parameter. For example, if the chosen parameter was a 2x3 matrix, the result will be a 2x3 array of mean values for the parameter elements.


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