R/LDA_gibbs_functions.R
sample.phi.Rd
Estimates values of phi matrix for use in characterizing distributions of the movement variables. Not for calling directly by users.
sample.phi(z.agg, alpha, nmaxclust, nbins, ndata.types)
A list of latent cluster estimates provided by
sample.z
.
numeric. A hyperparameter for the Dirichlet distribution.
numeric. A single number indicating the maximum number of clusters to test.
numeric. A vector of the number of bins used to discretize each
movement variable. These must be in the same order as the columns within
y
.
numeric. The number of data streams being analyzed.
A matrix of proportion estimates that characterize distributions (bins) for each movement variable and possible behavioral state.