View source: R/hmm_estimates.R
tmat_est | R Documentation |
Compute transition matrix probabilities
tmat_est(joint_prob, state_prob, init_ids, by_factor)
joint_prob |
An |
state_prob |
An |
init_ids |
A vector of indices of the initial state observation for each trip |
by_factor |
A vector of factors (link + time bin) of size |
An m x Q
matrix of probabilites for the m levels of by_factor
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.