Brett T. McClintock, Ruth King, Len Thomas, Jason Matthiopoulos, Bernie J. McConnell, and Juan M. Morales. 2012. A general discrete-time modeling framework for animal movement using multi-state random walks. Ecological Monographs 82:335–349 http://dx.doi.org/10.1890/11-0326.1.


Supplement

Computer code and data for implementing the reversible jump Markov chain Monte Carlo algorithm for the multi-state random walk model.
Ecological Archives M082-123-S1.

Copyright


Authors
File list (downloads)
Description


Author(s)

Brett T. McClintock
NOAA National Marine Mammal Laboratory
Alaska Fisheries Science Center
National Marine Fisheries Service
7600 Sand Point Way NE
Seattle, WA 98115
USA

Centre for Research into Ecological and Environmental Modelling
School of Mathematics and Statistics
University of St Andrews
St Andrews, Fife, Scotland
KY16 9LZ
United Kingdom
Email: [email protected]

Ruth King
Centre for Research into Ecological and Environmental Modelling
School of Mathematics and Statistics
University of St Andrews
St Andrews, Fife, Scotland
KY16 9LZ
United Kingdom
Email: [email protected]

Len Thomas
Centre for Research into Ecological and Environmental Modelling
School of Mathematics and Statistics
University of St Andrews
St Andrews, Fife, Scotland
KY16 9LZ
United Kingdom
Email: [email protected]

Jason Matthiopoulos
Scottish Oceans Institute
School of Biology
University of St Andrews
St Andrews, Fife, Scotland
KY16 8LB
United Kingdom
Email: [email protected]

Bernie J. McConnell
Scottish Oceans Institute
School of Biology
University of St Andrews
St Andrews, Fife, Scotland
KY16 8LB
United Kingdom
Email: [email protected]

Juan M. Morales
Ecotono, INIBIOMA-CONICET
Universidad Nacional del Comahue
Quintral 1250
8400 Bariloche
Argentina
Email: [email protected]


File list

RJMCMC.r (md5: e9ee7e17254056b63bdb0835538c37bf)
RJMCMC.c (md5: fb31b964ea3ba3deece76e2b9b9284ff)
RJMCMC.dll (md5: 1b8dd1b76d52eb89e2b85ec83b87295f)
seal908_data.RData (md5: ab2ff76d3f485b9246a43fb4702485db)
initial_values.RData (md5: bff6478c0474a08a173520aa2b3dc407)

Description

RJMCMC.r contains R code for loading the data (seal908_data.RData and initial_values.RData), data pre- and post-processing, loading the dynamic link library file (RJMCMC.dll), and calling the C function for interfacing the C code (RJMCMC.c) with R (on a machine running Windows).

RJMCMC.c contains C code for implementing the reversible jump MCMC algorithm for the multi-state random walk model.

RJMCMC.dll is a dynamic link library file containing the compiled C code.

seal908_data.RData contains the observed locations and times for grey seal #908.

initial_values.RData contains starting values for initialization of the MCMC chain.