Non-Parametric Bayesian Analyses of Animal Movement
Assign behavior estimates to observations
Add segment numbers to observations
Internal function that adds segment numbers to observations
Internal function that runs RJMCMC on a single animal ID
Internal function that transforms a vector of bin numbers to a presenc...
Cluster observations into behavioral states
Cluster time segments into behavioral states
Internal function that calculates the inverted cumsum
Convert data frame to a list by animal ID
Discretize movement variables
Expand behavior estimates from track segments to observations
Extract behavior proportion estimates for each track segment
Filter observations for time interval of interest
Find changes for integer variable
Internal function to calculate the log-likelihood for iteration of mix...
Internal function to calculate theta parameter
Extract bin estimates from Latent Dirichlet Allocation or mixture mode...
Extract breakpoints for each animal ID
Find the maximum a posteriori (MAP) estimate of the MCMC chain
Internal function to find the maximum a posteriori (MAP) estimate of t...
Internal function that calculates the sufficient statistics for the se...
Insert NA gaps to regularize a time series
Internal function that calculates the log marginal likelihood of each ...
Pipe operator
Plot breakpoints over a time series of each movement variable
Internal function for plotting breakpoints over each of the data strea...
Calculate step lengths, turning angles, net-squared displacement, and ...
Internal function to calculate step lengths, turning angles, and time ...
Internal function that samples z's from a categorical distribution
Internal function that samples z's from a multinomial distribution
Round time to nearest interval
Internal function for the Gibbs sampler within the reversible-jump MCM...
Internal function to sample the gamma hyperparameter
Internal function to sample bin estimates for each movement variable
Internal function to sample bin estimates for each movement variable
Internal function to sample parameter for truncated stick-breaking pri...
Internal function to sample parameter for truncated stick-breaking pri...
Internal function to sample latent clusters (for observations)
Internal function to sample latent clusters
Internal function that samples z1 aggregate
Segmentation model to estimate breakpoints
Dynamically explore tracks within Shiny app
This function helps store z from all iterations after burn in
Summarize observations within bins per track segment
Internal function that summarizes bin distributions of track segments
Internal function that generates nmat matrix to help with multinomial ...
View trace-plots of output from Bayesian segmentation model
Methods for assessing animal movement from telemetry and biologging data using non-parametric Bayesian methods. This includes features for pre- processing and analysis of data, as well as the visualization of results from the models. This framework does not rely on standard parametric density functions, which provides flexibility during model fitting. Further details regarding part of this framework can be found in Cullen et al. (2021) <doi:10.1101/2020.11.05.369702>.
Useful links