Description Usage Arguments Value
View source: R/gam_logforward.R
This function computes the log forward probabilities of the data based on the HMM hmm (with gamma state dependent distributions).
1 | gam_logforward(x, hmm, state_dep_dist_pooled = FALSE, zero_inflated = FALSE)
|
x |
The data to be fit with an HMM in the form of a 3D array. The first index (row) corresponds to time, the second (column) to the variable number, and the third (matrix number) to the subject number. |
hmm |
A list of parameters that specify the gamma HMM, including
|
state_dep_dist_pooled |
A logical variable indiacting whether the
state dependent distribution parameters |
A list of matrices (one for each subject) of the forward variables.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.