sample.phi.mixmod: Internal function to sample bin estimates for each movement...

Description Usage Arguments Value

View source: R/mixmod_gibbs_functions.R

Description

Estimates values of phi matrix for use in characterizing distributions of the movement variables. Not for calling directly by users.

Usage

1
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.


bayesmove documentation built on Oct. 22, 2021, 9:08 a.m.