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 April 3, 2025, 9:31 p.m.