sample.phi {bayesmove} | R Documentation |
Internal function to sample bin estimates for each movement variable
Description
Estimates values of phi matrix for use in characterizing distributions of the movement variables. Not for calling directly by users.
Usage
sample.phi(z.agg, alpha, nmaxclust, nbins, ndata.types)
Arguments
z.agg |
A list of latent cluster estimates provided by
|
alpha |
numeric. A hyperparameter for the Dirichlet distribution. |
nmaxclust |
numeric. A single number indicating the maximum number of clusters to test. |
nbins |
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
|
ndata.types |
numeric. The number of data streams being analyzed. |
Value
A matrix of proportion estimates that characterize distributions (bins) for each movement variable and possible behavioral state.
[Package bayesmove version 0.2.1 Index]