get.theta: Internal function to calculate theta parameter

View source: R/LDA_gibbs_functions.R

get.thetaR Documentation

Internal function to calculate theta parameter

Description

Calculates values of theta matrix within Gibbs sampler. Not for calling directly by users.

Usage

get.theta(v, nmaxclust, ntsegm)

Arguments

v

A matrix returned by sample.v

nmaxclust

numeric. A single number indicating the maximum number of clusters to test.

ntsegm

numeric. The total number of time segments from all animal IDs.

Value

A matrix of proportion estimates that represent proportions of different behavioral states per time segment.


bayesmove documentation built on Nov. 5, 2025, 6:06 p.m.