Learn R Programming

amt (version 0.3.1.0)

Animal Movement Tools

Description

Manage and analyze animal movement data. The functionality of 'amt' includes methods to calculate home ranges, track statistics (e.g. step lengths, speed, or turning angles), prepare data for fitting habitat selection analyses, and simulation of space-use from fitted step-selection functions.

Copy Link

Version

Install

install.packages('amt')

Monthly Downloads

1,740

Version

0.3.1.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Johannes Signer

Last Published

January 30th, 2026

Functions in amt (0.3.1.0)

check_time_unit

Calculate Speed
coercion

Coerce a track to other formats.
calc_w

Calculate w(x)
calculate_sdr

Calculate SDR
distr_name

Name of step-length distribution and turn-angle distribution
coords

Coordinates of a track.
fit_ctmm

Fit a continuous time movement model with ctmm
get_amt_fisher_covars

Helper function to get fisher covars
get_crs

Obtains the Coordinate Reference Systems
extent

Extent of a track
filter_min_n_burst

Filter bursts by number of relocations
diff

Difference in x and y
deer

Relocations of 1 red deer
plot.log_rss

Plot a log_rss object
hr_overlaps

Methods to calculate home-range overlaps
fit_clogit

Fit a conditional logistic regression
hr_to_sf

Convert home ranges to sfc
extract_covariates

Extract covariate values
fit_distr

Fit distribution to data
make_issf_model

Create an issf-model object from scratch
boot1.glm

Single bootstrap iteration
bootstrap_logrss

Bootstrap log-RSS estimate
plot.hr

Plot a home-range estimate
cum_ud

Calculate a cumulative UD
flag_duplicates

Flag Low Quality Duplicates
flag_roundtrips

Flag Fast Round Trips
get_sh_forest

Helper function to get forest cover
make_start

Create an initial step for simulations
hr_ud

Obtain the utilization distribution of a probabilistic home-range estimate
hr_area

Home-range area
hr_akde

Home ranges
from_to

Duration of tracks
has_crs

Check for Coordinate Reference Systems (CRS)
get_max_dist

Get the maximum distance
movement_metrics

Movement metrics
conf_envelope

Create confidence envelopes from a uhc_data_frame
check_factors

Check factor levels
nsd

Net squared displacement (nsd)
plot_sl

Plot step-length distribution
sampling_period

Extract sampling period
sdr

Calculate SDR for an Object
prep_test_dat

Prepares test_dat for uhc_prep()
transform_coords

Transform CRS
summarize_speed

Summarize speed
time_of_day

Time of the day when a fix was taken
convert_angles

Converts angles to radians
simulate_path

Simulate a movement trajectory.
redistribution_kernel

Create a redistribution kernel
reexports

Objects exported from other packages
fit_logit

Fit logistic regression
get_displacement

Calculate Expected Displacement
inspect

Inspect a track
get_distr

Obtain the step length and/or turn angle distributions from random steps or a fitted model.
flag_defunct_clusters

Flag Defunct Clusters
site_fidelity

Test for site fidelity of animal movement.
issf_drop_stratum

Create formula without stratum from iSSF
issf_w_form

Create habitat formula from iSSF
log_rss

Calculate log-RSS for a fitted model
remove_capture

Removes Capture Effects
hr_isopleths

Home-range isopleths
flag_fast_steps

Flag Fast Steps
hr_kde_ref_scaled

Select a bandwidth for Kernel Density Estimation
hr_kde_lscv

Least square cross validation bandwidth
od

Occurrence Distribution
track_resample

Resample track
params

Get parameters from a (fitted) distribution
random_steps_simple

Simulate from an ssf model
update_distr_man

Manually update amt_distr
remove_incomplete_strata

Remove strata with missing values for observed steps
update_sl_distr

Update movement distributions
hr_overlap_feature

Calculate the overlap between a home-range estimate and a polygon
tracked_from_to

Subset to tracking dates
plot.uhc_envelopes

Plot simplified UHC plots
plot.uhc_data

Plot UHC plots
range

Geographic range
track_align

Selects relocations that fit a new time series
track

Create a track_*
trast

Create a template raster layer
random_points

Generate random points
random_steps

Generate Random Steps
random_numbers

Sample random numbers
sh

Relocations of one Red Deer
prep_uhc

Prepare Data for UHC Plots for a Fitted Model
ua_distr

Summarize distribution of used and available
uhc_hab

Simulated habitat rasters for demonstrating UHC plots
sh_forest

Forest cover
uhc_hsf_locs

Simulated HSF location data for demonstrating UHC plots
summarize_sl

Summarize step lengths
summarize_sampling_rate

Returns a summary of sampling rates
uhc_issf_locs

Simulated iSSF location data for demonstrating UHC plots
speed

Speed
ssf_weights

Given a fitted ssf, and new location the weights for each location is calculated
ssf_formula

Takes a clogit formula and returns a formula without the strata and the left-hand side
steps

Functions to create and work with steps
as_sf_lines

Export track to lines
bandwidth_pi

hr_kde_pi wraps KernSmooth::dpik to select bandwidth for kernel density estimation the plug-in-the-equation method in two dimensions.
as_sf_points

Coerces a track to points
Extract.uhc_data

Subset a uhc_data object
as_track

Coerce to track
available_distr

Display available distributions for step lengths and turn angles.
as.data.frame.uhc_data

Coerce a uhc_data object to data.frame
amt_fisher

GPS tracks from four fishers
bbox

Get bounding box of a track.
amt_fisher_covar

Environmental data for fishers
append_x1

Append "_x1"
centroid

Calculate the centroid of a track.
bandwidth_ref

Reference bandwidth
distributions

Functions create statistical distributions