Description Usage Arguments Value
Plot histograms of between-subject means
1 | plot_posterior(x, ...)
|
x |
an mHMM_cont object |
param |
string. Which of the parameters should be plotted? Must be one of 'emiss_mu_bar', 'gamma_int_bar', 'emiss_var_bar' or 'emiss_varmu_bar' |
var |
int. Which emission distribution should be plotted? Must be an integer equal to or less than the total number of emission distributions. Index of variables is the same as the order in which they appear in the input data given to the mHMM. |
ground_truth |
numeric. Vector of ground-truth values for the parameters equal to the number of emission distributions. Will be added as a red dotted line. |
plots a histogram of the parameter of interest for each of the hypothesized latent states
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.