sample.phi.mixmod {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.mixmod(alpha, nmaxclust, nbins, ndata.types, nmat)

Arguments

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 data stream. These must be in the same order as the columns within dat.

ndata.types

numeric. The number of data streams being analyzed.

nmat

A list based on SummarizeDat C++ function to help with multinomial draws.

Value

A list of proportion estimates that characterize distributions (bins) for each data stream and possible behavioral state.


[Package bayesmove version 0.2.0 Index]