Description Usage Arguments Value
View source: R/segmentation_gibbs_functions.R
An internal function that calculates the sufficient statistics to be used
within the reversible-jump MCMC Gibbs sampler called by
link{samp_move}
.
1 | get_summary_stats(breakpt, dat, max.time, nbins, ndata.types)
|
breakpt |
numeric. A vector of breakpoints. |
dat |
A matrix that only contains columns storing discretized data for each of the movement variables. |
max.time |
numeric. The number of of the last observation of |
nbins |
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
|
ndata.types |
numeric. The length of |
Returns the sufficient statistics associated with the provided breakpoints for a given animal ID.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.