Description Usage Arguments Value
View source: R/mixmod_gibbs_functions.R
Calculates the log-likelihood of the mixture model based on estimates for theta and phi.
1 | get.llk.mixmod(phi, theta, ndata.types, dat, nobs, nmaxclust)
|
phi |
A list of proportion estimates that characterize distributions (bins) for each data stream and possible behavioral state. |
theta |
numeric. A vector of values that sum to one. |
ndata.types |
numeric. The number of data streams being analyzed. |
dat |
A data frame containing only columns of the discretized data streams for all observations. |
nobs |
numeric. The total number of rows in the dataset. |
nmaxclust |
numeric. A single number indicating the maximum number of clusters to test. |
A numeric value of the log-likelihood based upon the current values for phi and theta.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.