Description Usage Arguments Value
Simulate a sleep dataset for use in an mHMM model
1 | simulate_dataset(n, n_t, zeta, Q, seed)
|
n |
int. number of subjects. |
n_t |
int. number of observations for each subject. |
zeta |
float. between-subject variance of the emission distributions. |
Q |
float. between-subject variance of the transition probability matrix. |
seed |
int. random seed used to generate the dataset. |
list containing states and emission distribution observed data. See sim_mHMM.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.