Edward Lavender*
*This repository is maintained by Edward Lavender (edward.lavender@eawag.ch).
This repository contains
patter workshop materials.
patter is an
R package that fits state-space models to
animal tracking data using sequential Monte Carlo algorithms (particle
filters and smoothers). This wraps the high-performance
Julia package
Patter.jl.
patter implements
particle filtering and smoothing algorithms. The algorithms
reconstruct movements, patterns of space use and residency from
animal-tracking data, particularly in acoustic telemetry
systems.
The project was built in R (version 4.5.0) in RStudio.
For patter users, these are the most relevant resources:
-
doc/contains workshop documentation:context/context-v1.pdfprovides an introduction to state-space modelling in acoustic telemetry systemsusage/contains introductory presentations forpatterusage/patter-v.2.0-0/patter-intro.htmlis an introductory presentation forpatter v.2.0-0- Download this file and open it in a web browser for a comprehensive introduction to the package
-
R/containsRscripts (workshop exercises):intro-patter.Ris an introductory exercise forpatter v.2.0-1- Download this file for a practical introduction to the basic
patterworkflow
- Download this file for a practical introduction to the basic
The following directories are relevant for users who clone the project:
-
renv/implements local dependency management forRpackages -
data/contains project management files:inst/dependencies.rdsis a list of dependencies;inst/session-info.rdsis a record of information about theRSession;inst/tree.rdsis a record of the project directory tree;
-
dev/contains project-management scripts:01-dev.Rrecords project set up and development;02-clone.Ris used to clone the project;03-utils.Rcontains supporting utilities;
-
Julia/is theJuliaproject directory -
fig/contains selected figure(s)
To clone the project, follow the instructions in dev/02-clone.R to
install packages and directories:
- Packages. Work through
dev/02-clone.Rto userenvto regenerate the local project library. Packages can also be manually reinstalled via02-clone.R. - Directories. Rebuild the project directory tree, via
dv::use_template_proj()anddv::use_template_tree().
Clone the project if you experience issues with package versions on your
own machine and you want to work through the introductory R script(s).
Please report issues on GitHub.
Please note that this project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.
