Learn R Programming

amt (version 0.2.2.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,389

Version

0.2.2.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

April 1st, 2024

Functions in amt (0.2.2.0)

bandwidth_ref

Reference bandwidth
check_factors

Check factor levels
centroid

Calculate the centroid of a track.
calc_w

Calculate w(x)
calculate_sdr

Calculate SDR
distributions

Functions create statistical distributions
distr_name

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

Extent of a track
extract_covariates

Extract covariate values
fit_logit

Fit logistic regression
flag_defunct_clusters

Flag Defunct Clusters
flag_duplicates

Flag Low Quality Duplicates
flag_fast_steps

Flag Fast Steps
get_amt_fisher_covars

Helper function to get fisher covars
get_crs

Obtains the Coordinate Reference Systems
hr_isopleths

Home-range isopleths
hr_kde_lscv

Least square cross validation bandwidth
coords

Coordinates of a track.
check_time_unit

Calculate Speed
cum_ud

Calculate a cumulative UD
coercion

Coerce a track to other formats.
get_max_dist

Get the maximum distance
fit_clogit

Fit a conditional logistic regression
filter_min_n_burst

Filter bursts by number of relocations
get_sh_forest

Helper function to get forest cover
issf_w_form

Create habitat formula from iSSF
log_rss

Calculate log-RSS for a fitted model
hr_ud

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

Home ranges
boot1.glm

Single bootstrap iteration
movement_metrics

Movement metrics
plot.hr

Plot a home-range estimate
plot.log_rss

Plot a log_rss object
has_crs

Check for Coordinate Reference Systems (CRS)
hr_area

Home-range area
hr_overlaps

Methods to calculate home-range overlaps
hr_to_sf

Convert home ranges to sfc
nsd

Net squared displacement (nsd)
as_track

Coerce to track
deer

Relocations of 1 red deer
get_displacement

Calculate Expected Displacement
inspect

Inspect a track
diff

Difference in x and y
from_to

Duration of tracks
flag_roundtrips

Flag Fast Round Trips
get_distr

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

Get parameters from a (fitted) distribution
random_points

Generate random points
od

Occurrence Distribution
random_steps

Generate Random Steps
issf_drop_stratum

Create formula without stratum from iSSF
make_start

Create an initial step for simulations
make_issf_model

Create an issf-model object from scratch
sampling_period

Extract sampling period
bootstrap_logrss

Bootstrap log-RSS estimate
conf_envelope

Create confidence envelopes from a uhc_data_frame
redistribution_kernel

Create a redistribution kernel
track

Create a track_*
sdr

Calculate SDR for an Object
track_resample

Resample track
sh

Relocations of one Red Deer
reexports

Objects exported from other packages
site_fidelity

Test for site fidelity of animal movement.
convert_angles

Converts angles to radians
prep_uhc

Prepare Data for UHC Plots for a Fitted Model
fit_distr

Fit distribution to data
simulate_path

Simulate a movement trajectory.
summarize_sampling_rate

Returns a summary of sampling rates
summarize_sl

Summarize step lengths
plot_sl

Plot step-length distribution
fit_ctmm

Fit a continuous time movement model with ctmm
hr_kde_ref_scaled

Select a bandwidth for Kernel Density Estimation
hr_overlap_feature

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

Manually update amt_distr
sh_forest

Forest cover
update_sl_distr

Update movement distributions
plot.uhc_data

Plot UHC plots
uhc_issf_locs

Simulated iSSF location data for demonstrating UHC plots
plot.uhc_envelopes

Plot simplified UHC plots
range

Geographic range
tracked_from_to

Subset to tracking dates
remove_incomplete_strata

Remove strata with missing values for observed steps
time_of_day

Time of the day when a fix was taken
random_steps_simple

Simulate from an ssf model
prep_test_dat

Prepares test_dat for uhc_prep()
remove_capture

Removes Capture Effects
summarize_speed

Summarize speed
ssf_weights

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

Create a template raster layer
steps

Functions to create and work with steps
transform_coords

Transform CRS
ua_distr

Summarize distribution of used and available
random_numbers

Sample random numbers
speed

Speed
ssf_formula

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

Simulated habitat rasters for demonstrating UHC plots
uhc_hsf_locs

Simulated HSF location data for demonstrating UHC plots
amt_fisher_covar

Environmental data for fishers
as_sf_points

Coerces a track to points
Extract.uhc_data

Subset a uhc_data object
as.data.frame.uhc_data

Coerce a uhc_data object to data.frame
available_distr

Display available distributions for step lengths and turn angles.
bandwidth_pi

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

GPS tracks from four fishers
append_x1

Append "_x1"
bbox

Get bounding box of a track.
as_sf_lines

Export track to lines