behav_gibbs_sampler(dat, ngibbs, nbins, alpha, breakpt, p)
A data frame that only contains columns for the animal IDs and for each of the discretized movement variables.
numeric. The total number of iterations of the MCMC chain.
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
numeric. A single value used to specify the hyperparameter for
the prior distribution. A standard value for
numeric. A vector of breakpoints if pre-specifying where they
may occur, otherwise
An object storing information from
A list of the breakpoints, the number of breakpoints, and the log marginal likelihood at each MCMC iteration, as well as the time it took the model to finish running. This is only provided for the data of a single animal ID.