knitr::opts_chunk$set(warning = FALSE, message = FALSE)

About

This vignette briefly introduces how one can coerce amt track_xy* to other commonly used packages. At the moment this vignette shows methods to coerce to adehabitatHR, ctmm, and move.

Getting the data ready

First we load the required libraries and the relocation data (called deer)

library(amt)
data("deer")
deer

adehbatit*

adehabitatLT_ltraj <- as_ltraj(deer)
adehabitatLT_ltraj

ctmm

With the function as_telemetry a track_xyt can be coerced to a telemetry object used in ctmm.

ctmm_obj <- as_telemetry(deer)
class(ctmm_obj)

move

Session

sessioninfo::session_info()


jmsigner/amt documentation built on May 14, 2024, 8:11 a.m.