hmm_init: Create initial values for the HMM model.

View source: R/hmm_init.R

hmm_initR Documentation

Create initial values for the HMM model.

Description

Create initial values for the HMM model.

Usage

hmm_init(K, x_t)

Arguments

K

The number of regimes or clusters to fit. Called by rstan::sampling().

x_t

A matrix of values. Called by rstan::sampling().

Value

list of initial values (mu, sigma)


bayesdfa documentation built on Oct. 11, 2023, 5:14 p.m.