Non-Parametric Bayesian Analyses of Animal Movement

assign_behavior | Assign behavior estimates to observations |

assign_tseg | Add segment numbers to observations |

assign_tseg_internal | Internal function that adds segment numbers to observations |

behav_gibbs_sampler | Internal function that runs RJMCMC on a single animal ID |

behav_seg_image | Internal function that transforms a vector of bin numbers to... |

cluster_segments | Cluster time segments into behavioral states |

CumSumInv | Internal function that calculates the inverted cumsum |

df_to_list | Convert data frame to a list by animal ID |

discrete_move_var | Discretize movement variables |

expand_behavior | Expand behavior estimates from track segments to observations |

extract_prop | Extract behavior proportion estimates for each track segment |

filter_time | Filter observations for time interval of interest |

find_breaks | Find changes for integer variable |

get_behav_hist | Extract bin estimates from Latent Dirichlet Allocation model |

get_breakpts | Extract breakpoints for each animal ID |

get_MAP | Find the maximum a posteriori (MAP) estimate of the MCMC... |

get_MAP_internal | Internal function to find the maximum a posteriori (MAP)... |

get_summary_stats | Internal function that calculates the sufficient statistics... |

get.theta | Internal function to calculate theta parameter |

log_marg_likel | Internal function that calculates the log marginal likelihood... |

pipe | Pipe operator |

plot_breakpoints | Plot breakpoints over a time series of each movement variable |

plot_breakpoints_behav | Internal function for plotting breakpoints over each of the... |

prep_data | Calculate step lengths, turning angles, and time steps |

prep_data_internal | Internal function to calculate step lengths, turning angles,... |

rmultinom1 | Internal function that samples z's from a categorical... |

rmultinom2 | Internal function that samples z's from a multinomial... |

round_track_time | Round time to nearest interval |

sample.phi | Internal function to sample bin estimates for each movement... |

sample.v | Internal function to sample parameter for truncated... |

sample.z | Internal function to sample latent clusters |

SampleZAgg | Internal function that samples z1 aggregate |

samp_move | Internal function for the Gibbs sampler within the... |

segment_behavior | Segmentation model to estimate breakpoints |

summarize_tsegs | Summarize observations within bins per track segment |

traceplot | View trace-plots of output from Bayesian segmentation model |

tracks | Simulated set of three tracks. |

tracks.list | Tracks discretized and prepared for segmentation. |

tracks.seg | Segmented tracks for all IDs. |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.