hmm_init: Create initial values for the HMM model.

Description Usage Arguments Value

View source: R/hmm_init.R

Description

Create initial values for the HMM model.

Usage

1
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 May 29, 2021, 1:06 a.m.