compute_P1_lhmm {proclhmm}R Documentation

Compute LHMM probabilities from parameters

Description

Compute initial state probability from LHMM parameters; currently, the initial state probability does not depend on latent traits

Usage

compute_P1_lhmm(para_P1)

Arguments

para_P1

a vector of length K-1. parameters of initial state probability vector

Value

initial state probability vector of length K

See Also

compute_PQ_lhmm for state-transition and state-action probabilities of LHMM, compute_paras_hmm for computing probabilities in HMM.

Examples

paras <- sim_lhmm_paras(5, 2)
P1 <- compute_P1_lhmm(paras$para_P1)


[Package proclhmm version 1.0.0 Index]