R/segmentation_gibbs_functions.R
get_summary_stats.Rd
An internal function that calculates the sufficient statistics to be used
within the reversible-jump MCMC Gibbs sampler called by
link{samp_move}
.
get_summary_stats(breakpt, dat, max.time, nbins, ndata.types)
numeric. A vector of breakpoints.
A matrix that only contains columns storing discretized data for each of the movement variables.
numeric. The number of of the last observation of dat
.
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
dat
.
numeric. The length of nbins
.
Returns the sufficient statistics associated with the provided breakpoints for a given animal ID.