Learn R Programming

sectorgap (version 0.1.0)

results_state: MCMC summary statistics for states

Description

Computes MCMC summary statistics for each state.

Usage

results_state(model, HPDIprob, state)

Value

List of time series.

Arguments

model

The return object of the function fitSSM from the package KFAS

HPDIprob

probability of highest posterior density interval, the default is HPDIprob = 0.68

state

An array with the smoothed state