ssmTMB - A fast state-space model for filtering Argos satellite tracking data
This is a minimal package that state-space filters and regularises to a specified time step error-prone Argos satellite tracking data. The fast estimation is acheived by using the Template Model Builder (TMB) package that provides C++ templates.
Read ?fit_ssm
for details and an example of how to use the package
First, ensure you have R version >= 3.3.0 installed:
R.Version()
On PC's running Windows, ensure you have installed Rtools
On Mac's, ensure you have installed Xcode and Xcode developer tools. If installation is needed, make sure you start Xcode after install to ensure final setup of developer tools is completed. Both Xcode and Xcode developer tools can be installed from the Mac App Store
Next, you will need to install TMB
and it's dependencies from within R:
install.packages("TMB")
Then install devtools
and it's dependencies and finally install ssmTMB
from GitHub:
install.packages("devtools")
devtools::install_github("ianjonsen/ssmTMB")