Description Usage Arguments Value
View source: R/gam0_natural_params.R
This function transforms the working gamma HMM parameters back into the
original format of the natural parameters and outputs them as a list. This
function is the reverse of norm_working_params()
.
1 2 3 4 5 6 7 8 | gam0_natural_params(
num_states,
num_variables,
num_subjects,
num_covariates,
working_params,
state_dep_dist_pooled = FALSE
)
|
num_states |
The number of states in the desired HMM. |
num_variables |
The number of variables in the data. |
num_subjects |
The number of subjects/trials that generated the data. |
num_covariates |
The number of covariates in the data that the transition probability matrix depends on. |
working_params |
A vector of the working gamma parameters for the
HMM as outputted by |
state_dep_dist_pooled |
A logical variable indicating whether the
state dependent distribution parameters |
A list of the natural parameters.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.